updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / pyalpmm / PKGBUILD
blobfcb5f95027f0ab9545bea8e05b156a04b17656bb
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=pyalpmm
4 pkgver=0.3
5 pkgrel=1
6 pkgdesc="The Python ALPM high-level API"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://www.infolexikon.de/code/pyalpmm"
10 depends=('python>=2.6.2')
11 makedepends=('swig')
12 source=("http://static.evigo.net/infolexikon/releases/${pkgname}-${pkgver}.tgz")
13 md5sums=('8eed9a315eff7c444ce1501db47e748e')
15 build() {
16   cd ${srcdir}/${pkgname}-${pkgver}
17   make || return 1
18   make install DESTDIR=${pkgdir} || return 1
19   install -Dm755 mmacman ${pkgdir}/usr/bin/mmacman || return 1
20   install -Dm644 pyalpmm.conf ${pkgdir}/etc/pyalpmm.conf || return 1