mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
24 lines
650 B
Bash
24 lines
650 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
plugrel=1
|
|
|
|
pkgname=pyalpmm
|
|
pkgver=0.3
|
|
pkgrel=1
|
|
pkgdesc="The Python ALPM high-level API"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.infolexikon.de/code/pyalpmm"
|
|
depends=('python>=2.6.2')
|
|
makedepends=('swig')
|
|
source=("http://static.evigo.net/infolexikon/releases/${pkgname}-${pkgver}.tgz")
|
|
md5sums=('8eed9a315eff7c444ce1501db47e748e')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make -j1 || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
install -Dm755 mmacman ${pkgdir}/usr/bin/mmacman || return 1
|
|
install -Dm644 pyalpmm.conf ${pkgdir}/etc/pyalpmm.conf || return 1
|
|
}
|
|
|