mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
31 lines
827 B
Bash
31 lines
827 B
Bash
# $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
|
|
pkgrel=2
|
|
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
|
|
}
|