PKGBUILDs/core/popt/PKGBUILD
2009-10-23 22:21:40 -05:00

29 lines
765 B
Bash

# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=popt
pkgver=1.14
pkgrel=1
pkgdesc="A commandline option parser"
arch=('arm')
url="http://rpm5.org"
license=('custom')
groups=('base')
depends=('glibc')
options=('!libtool')
source=(http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/files/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('4f90a07316eb825604dd10ae4f9f3f04')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
# install license
install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
}