diff options
author | Brian Bidulock | 2020-04-09 00:50:03 -0600 |
---|---|---|
committer | Brian Bidulock | 2020-04-09 00:50:03 -0600 |
commit | 8aded6b2ce30d05f579a17e96f3a01c075f87ed4 (patch) | |
tree | 8ee37c61a4e2eb42594344bb1c1c0e46df4f8d42 | |
parent | 7c3efc0ac9a833a6c4f2e608230ae64a5f6a5882 (diff) | |
download | aur-8aded6b2ce30d05f579a17e96f3a01c075f87ed4.tar.gz |
set sysconfdir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = smcroute pkgdesc = A command line tool to manipulate the multicast routes of a UNIX kernel. It supports both IPv4 and IPv6 multicast routing. pkgver = 2.4.4 - pkgrel = 1 + pkgrel = 2 url = https://troglobit.com/smcroute.html arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ # Contributor: Julien Sopena (jsopena.archlinux@free.fr) pkgname=smcroute pkgver=2.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="A command line tool to manipulate the multicast routes of a UNIX kernel. It supports both IPv4 and IPv6 multicast routing." arch=('i686' 'x86_64') url="https://troglobit.com/smcroute.html" @@ -18,13 +18,18 @@ md5sums=('a1dc8c54c684e8c8de139444f73a0ba3' '7b28500642045b2482f5ac873da0f86b') build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sbindir=/usr/bin + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --runstatedir=/run \ + --localstatedir=/var make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install install -Dm644 "${srcdir}/smcroute.conf.example" "${pkgdir}/etc/smcroute.conf" |