summaryrefslogtreecommitdiff
path: root/testing/pyalpm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pyalpm/PKGBUILD')
-rw-r--r--testing/pyalpm/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/pyalpm/PKGBUILD b/testing/pyalpm/PKGBUILD
new file mode 100644
index 000000000..7a2eccdda
--- /dev/null
+++ b/testing/pyalpm/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer : Rémy Oudompheng <remy@archlinux.org>
+
+pkgname=pyalpm
+pkgver=0.5
+pkgrel=1
+pkgdesc="Libalpm bindings for Python 3"
+arch=('i686' 'x86_64')
+url="http://projects.archlinux.org/users/remy/pyalpm.git/"
+license=('GPL')
+depends=('python>=3.2' 'pacman>=4')
+source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
+md5sums=('25b078e0c56d10cf64edd026be317760')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir}
+}
+