PKGBUILDs/core/popt/PKGBUILD

30 lines
765 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# 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"
2009-10-24 03:21:40 +00:00
arch=('arm')
2009-10-10 02:17:35 +00:00
url="http://rpm5.org"
license=('custom')
groups=('base')
depends=('glibc')
options=('!libtool')
2009-10-24 03:21:40 +00:00
source=(http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/files/$pkgname/$pkgname-$pkgver.tar.gz)
2009-10-10 02:17:35 +00:00
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
}