diff options
author | root <root@rshg054.dnsready.net> | 2012-04-10 00:01:08 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-10 00:01:08 +0000 |
commit | 223ca251f3ce07eb5484be845e631d6ca645b263 (patch) | |
tree | a9e543c45cd0d58c82e39617f602a718d86976c4 /testing/popt/PKGBUILD | |
parent | 1fed401c439c264bd92a4c13af1bea0bea458cb4 (diff) |
Tue Apr 10 00:01:08 UTC 2012
Diffstat (limited to 'testing/popt/PKGBUILD')
-rw-r--r-- | testing/popt/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/popt/PKGBUILD b/testing/popt/PKGBUILD new file mode 100644 index 000000000..171740966 --- /dev/null +++ b/testing/popt/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 155901 2012-04-08 23:40:03Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: 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.16 +pkgrel=5 +pkgdesc="A commandline option parser" +arch=('i686' 'x86_64') +url="http://rpm5.org" +license=('custom') +depends=('glibc') +options=('!libtool') +source=(http://rpm5.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha1sums=('cfe94a15a2404db85858a81ff8de27c8ff3e235e') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} |