diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-17 02:16:04 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-17 02:16:04 (GMT) |
commit | 582f337f8d50d6720058a40707409f5382dbf971 (patch) | |
tree | d323966258ab2c91858fb8c9ac7a87fd3004ad4e /abs/core/iana-etc/PKGBUILD | |
parent | ee02effb6691f46e331b76810d7d96f24160e52f (diff) | |
download | linhes_pkgbuild-582f337f8d50d6720058a40707409f5382dbf971.zip linhes_pkgbuild-582f337f8d50d6720058a40707409f5382dbf971.tar.gz linhes_pkgbuild-582f337f8d50d6720058a40707409f5382dbf971.tar.bz2 |
iana-etc rebuild to populate /etc/services
Diffstat (limited to 'abs/core/iana-etc/PKGBUILD')
-rw-r--r-- | abs/core/iana-etc/PKGBUILD | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/abs/core/iana-etc/PKGBUILD b/abs/core/iana-etc/PKGBUILD index ef85afb..57849f0 100644 --- a/abs/core/iana-etc/PKGBUILD +++ b/abs/core/iana-etc/PKGBUILD @@ -1,37 +1,36 @@ -# $Id: PKGBUILD 129440 2011-06-27 17:40:46Z dan $ -# Maintainer: Thomas Bächler <thomas@archlinux.org> +# $Id: PKGBUILD 164065 2012-07-26 15:21:18Z bisson $ +# Contributor: Thomas Bächler <thomas@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + pkgname=iana-etc pkgver=2.30 -pkgrel=2 -pkgdesc="/etc/protocols and /etc/services provided by IANA" +pkgrel=3 +pkgdesc='/etc/protocols and /etc/services provided by IANA' +url='http://sethwklein.net/iana-etc.html' arch=('any') -url="http://sethwklein.net/iana-etc" license=('custom') -makedepends=('awk') -source=(http://sethwklein.net/iana-etc-2.30.tar.bz2 - Makefile.patch) -sha256sums=('b9a6874fb20012836efef75452ef2acae624022d680feeb1994d73facba3f20d' - '3e6db7adb8a67b765b8be65825f2a0e6c525eb42367385193c678af6b75d0321') +backup=('etc/'{protocols,services}) +source=("http://sethwklein.net/${pkgname}-${pkgver}.tar.bz2" + 'newer.patch') +sha1sums=('218593bcb9264014c4e397d838b2c218eac9df06' + '1e306cf77bc4e97cc020d6c53cb9de81c186a483') build() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p0 -i "$srcdir/Makefile.patch" - make get - make + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../newer.patch + make get + make } check() { - cd "$srcdir/$pkgname-$pkgver" - - make test + cd "${srcdir}/${pkgname}-${pkgver}" + make test } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -D -m644 COPYING "$pkgdir/usr/share/licenses/iana-etc/LICENSE" + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/iana-etc/LICENSE" + install -Dm644 port-numbers.iana "${pkgdir}/usr/share/iana-etc/port-numbers.iana" + install -Dm644 protocol-numbers.iana "${pkgdir}/usr/share/iana-etc/protocol-numbers.iana" } - -# vim:set ts=2 sw=2 et: |