diff --git a/libgbinder/.SRCINFO b/libgbinder/.SRCINFO new file mode 100644 index 0000000..2d75936 --- /dev/null +++ b/libgbinder/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = libgbinder + pkgdesc = GLib-style interface to binder + pkgver = 1.1.16 + pkgrel = 1 + url = https://github.com/mer-hybris/libgbinder.git + arch = x86_64 + arch = i686 + arch = armv7h + arch = aarch64 + license = BSD + makedepends = git + depends = libglibutil + depends = glib2 + source = libgbinder::git+https://github.com/mer-hybris/libgbinder.git#commit=1bc2efd7249e1cf1b50d9ff1dcf57ffea528f0e9 + sha512sums = SKIP + +pkgname = libgbinder diff --git a/libgbinder/.gitrepo b/libgbinder/.gitrepo new file mode 100644 index 0000000..7ae0dac --- /dev/null +++ b/libgbinder/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/libgbinder.git + branch = master + commit = 08224bf24a6d9ccd79b1503e238a7d9d448b0ad9 + parent = 127c541985b4e3168f48b775943ac355199fff58 + method = merge + cmdver = 0.4.3 diff --git a/libgbinder/PKGBUILD b/libgbinder/PKGBUILD new file mode 100644 index 0000000..ab2aaa1 --- /dev/null +++ b/libgbinder/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Danct12 + +pkgname=libgbinder +pkgver=1.1.16 +pkgrel=1 +pkgdesc="GLib-style interface to binder" +arch=('x86_64' 'i686' 'armv7h' 'aarch64') +url="https://github.com/mer-hybris/libgbinder.git" +license=('BSD') +depends=('libglibutil' 'glib2') +makedepends=('git') +_commit="1bc2efd7249e1cf1b50d9ff1dcf57ffea528f0e9" # tags/1.1.16 +source=(${pkgname}::git+https://github.com/mer-hybris/libgbinder.git#commit=${_commit}) +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd ${pkgname} + make KEEP_SYMBOLS=1 release pkgconfig +} + +package() { + cd ${pkgname} + make install-dev DESTDIR="${pkgdir}" +}