mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
30 lines
789 B
Bash
30 lines
789 B
Bash
# $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
|
|
}
|