summaryrefslogtreecommitdiff
path: root/extra/pyalpm/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 18:44:01 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 18:44:01 -0500
commit281b44f8a67bac1be5ccc8697e355758e3852a79 (patch)
treea28213affedd8db040d310289dea787d6bbfe8cd /extra/pyalpm/PKGBUILD
parentedf6965e83a24919183a069139792ee4d83b0a61 (diff)
parenta422536e1ba326bff507ba81859c784a135d1804 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Diffstat (limited to 'extra/pyalpm/PKGBUILD')
-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}
+}
+