blob: 3b4b7799dd5419d5b82612902c13f40a492855d1 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=pimd
pkgver=2.3.2
pkgrel=2
pkgdesc="A stand-alone implementation of the DVMRP multicast routing protocol."
arch=('i686' 'x86_64')
url="http://freshmeat.net/projects/pimd"
license=('BSD')
backup=('etc/pimd.conf')
conflicts=('quagga>=1.0')
depends=('glibc')
source=("https://github.com/troglobit/pimd/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
"pimd.service")
md5sums=('a3c03e40540980b2c06e265a17988e60'
'9e221e6c80905fb48d87282b32352e7c')
prepare() {
cd ${pkgname}-${pkgver}
sed -e 's,sbin,bin,' -i Makefile
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="$pkgdir" install
install -Dm644 ../pimd.service "$pkgdir/usr/lib/systemd/system/pimd.service"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/pimd/LICENSE"
install -Dm644 LICENSE.mrouted "$pkgdir/usr/share/licenses/pimd/LICENSE.mrouted"
}
|