PKGBUILDs/core/popt/PKGBUILD

31 lines
789 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# $Id: PKGBUILD 15379 2008-10-13 15:36:46Z ronald $
# 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=('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=('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
}