diff options
author | root <root@rshg054.dnsready.net> | 2012-03-07 00:01:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-07 00:01:25 +0000 |
commit | 5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (patch) | |
tree | e7b6c472f6deee81a237a1ce4b8c12e90aadac67 /community/libident/PKGBUILD | |
parent | b8afacf1f28ac27321feb9b92bd50dd8961b7736 (diff) |
Wed Mar 7 00:01:25 UTC 2012
Diffstat (limited to 'community/libident/PKGBUILD')
-rw-r--r-- | community/libident/PKGBUILD | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/community/libident/PKGBUILD b/community/libident/PKGBUILD index 715b5e46f..db678c3d8 100644 --- a/community/libident/PKGBUILD +++ b/community/libident/PKGBUILD @@ -1,20 +1,34 @@ -# Maintainer: Mateusz Herych <heniekk@gmail.com> +# $Id: PKGBUILD 67228 2012-03-05 13:41:53Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Mateusz Herych <heniekk@gmail.com> +# +# TODO: Write a pkg-conf file + pkgname=libident pkgver=0.32 -pkgrel=2 +pkgrel=3 pkgdesc="New libident C library" -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') url="http://www.remlab.net/libident/" license=('custom') -source=(http://www.remlab.net/files/libident/libident-$pkgver.tar.gz) -md5sums=('9b9346eacc28d842d164881f0efa3388') +options=('!libtool') +source=("http://www.remlab.net/files/libident/libident-$pkgver.tar.gz") +sha256sums=('8cc8fb69f1c888be7cffde7f4caeb3dc6cd0abbc475337683a720aa7638a174b') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man - make || return 1 - make DESTDIR=$startdir/pkg install || return 1 - install -D -m 755 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm755 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: |