summaryrefslogtreecommitdiff
path: root/extra/pyalpm
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-30 22:48:08 +0000
committerroot <root@rshg047.dnsready.net>2011-05-30 22:48:08 +0000
commita422536e1ba326bff507ba81859c784a135d1804 (patch)
tree85caa09390d3bf641e0363b0f0dbf9447e3b5ef8 /extra/pyalpm
parentc399070d50c89903ec1dea55aa4aa5147a367565 (diff)
Mon May 30 22:48:08 UTC 2011
Diffstat (limited to 'extra/pyalpm')
-rw-r--r--extra/pyalpm/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/pyalpm/PKGBUILD b/extra/pyalpm/PKGBUILD
new file mode 100644
index 000000000..0db22e4d7
--- /dev/null
+++ b/extra/pyalpm/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer : Rémy Oudompheng <remy@archlinux.org>
+
+pkgname=pyalpm
+pkgver=0.4.2
+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<3.6')
+source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
+md5sums=('d5d45cafa98050a4d3c77e4a8f597ff3')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir}
+}
+