core/popt/PKGBUILD

31 lines
827 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
# $Id: PKGBUILD 53788 2009-10-03 09:29:46Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=popt
pkgver=1.15
2010-04-04 22:20:41 +08:00
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="A commandline option parser"
arch=('i686' 'x86_64')
url="http://rpm5.org"
license=('custom')
groups=('base')
depends=('glibc')
options=('!libtool')
source=(http://rpm5.org/files/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('c61ef795fa450eb692602a661ec8d7f1')
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/LICENSE || return 1
}