blob: ac1ad6d502adba7e20bd5dced286e4a0fc78b8c7 (
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
32
33
34
35
36
37
38
39
40
|
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=bootp
pkgver=2.4.3_18
pkgrel=2
pkgdesc="A BOOTP server"
arch=('i686' 'x86_64')
url="http://packages.ubuntu.com/trusty/bootp"
# ftp://ftp.ntplx.net/pub/networking/bootp/
license=('custom')
depends=('glibc')
backup=(etc/bootptab)
source=(http://archive.ubuntu.com/ubuntu/pool/universe/b/bootp/bootp_${pkgver%_*}.orig.tar.gz \
http://archive.ubuntu.com/ubuntu/pool/universe/b/bootp/bootp_${pkgver/_/-}.diff.gz \
LICENSE)
md5sums=('2a12d862f11908acf84652387be4e03b'
'27ca3263bc57db7635851ce1599e0ee9'
'73d382f2d16e5e7e5306bbca14062613')
build() {
cd "$srcdir/$pkgname-${pkgver%_*}"
patch -Np1 < ../bootp_${pkgver/_/-}.diff || true
make
}
package() {
cd "$srcdir/$pkgname-${pkgver%_*}"
install -d -m755 "$pkgdir"/usr/bin
install -d -m755 "$pkgdir"/usr/share/man/{man5,man8}
install -d -m755 "$pkgdir"/etc
make BINDIR="/usr/bin" DESTDIR="$pkgdir/" install
make MANDIR="/usr/share/man" DESTDIR="$pkgdir/" install.man
touch "$pkgdir"/etc/bootptab
install -D -m644 "$srcdir/"LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:
|