summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/iana-etc/PKGBUILD
blob: 1c528a69f4a76beea5e3b2ad44f299ea2df3ff77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 86037 2010-07-23 23:13:34Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=iana-etc
pkgver=2.30
pkgrel=1
pkgdesc="/etc/protocols and /etc/services provided by IANA"
arch=('any')
url="http://sethwklein.net/iana-etc"
license=('custom')
makedepends=('awk')
source=(http://sethwklein.net/$pkgname-$pkgver.tar.bz2
        Makefile.patch)
sha256sums=('b9a6874fb20012836efef75452ef2acae624022d680feeb1994d73facba3f20d'
            '3e6db7adb8a67b765b8be65825f2a0e6c525eb42367385193c678af6b75d0321')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -p0 -i "$srcdir/Makefile.patch"
  make get
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
  install -D -m644 COPYING "$pkgdir/usr/share/licenses/iana-etc/LICENSE"
}

# vim:set ts=2 sw=2 et: