diff options
author | Danct12 | 2021-09-12 10:31:20 +0700 |
---|---|---|
committer | Danct12 | 2021-09-12 10:31:20 +0700 |
commit | f2e23f5e143ff2a49a103573af76ea655385f641 (patch) | |
tree | 3109f6652b3b2a5210c0f41f80ae757a9194526d | |
download | aur-f2e23f5e143ff2a49a103573af76ea655385f641.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..107d9f370b2f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-gbinder + pkgdesc = Python bindings for libgbinder + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/erfanoabdi/gbinder-python + arch = x86_64 + arch = i686 + arch = armv7h + arch = aarch64 + license = GPL + makedepends = git + makedepends = python-setuptools + makedepends = cython + depends = libgbinder + source = python-gbinder::git+https://github.com/erfanoabdi/gbinder-python.git#commit=2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c + sha512sums = SKIP + +pkgname = python-gbinder diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..abe604f7790f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Danct12 <danct12@disroot.org> + +pkgname=python-gbinder +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Python bindings for libgbinder" +arch=('x86_64' 'i686' 'armv7h' 'aarch64') +url="https://github.com/erfanoabdi/gbinder-python" +license=('GPL') +depends=('libgbinder') +makedepends=('git' 'python-setuptools' 'cython') +_commit="2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c" +source=(${pkgname}::git+https://github.com/erfanoabdi/gbinder-python.git#commit=${_commit}) +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd ${pkgname} + python3 setup.py build --cython +} + +package() { + cd ${pkgname} + python3 setup.py install --prefix=/usr --root="$pkgdir" +} |