diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-02-09 10:32:20 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-02-09 10:32:20 -0300 |
commit | 6cc893589a6bd208f2b7711f985e17df7a6df816 (patch) | |
tree | c41cb07e4e88c4eff5bc05e44b86b860f96654b8 /community/fssos-nsvs/PKGBUILD | |
parent | 5995e8be41750a8ac397ac358f5c2bedca3a4d1e (diff) | |
parent | f0ab416208be17c176b9430a3537f05b5c653aec (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/fssos-nsvs/PKGBUILD')
-rw-r--r-- | community/fssos-nsvs/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/fssos-nsvs/PKGBUILD b/community/fssos-nsvs/PKGBUILD new file mode 100644 index 000000000..c9b4a13e2 --- /dev/null +++ b/community/fssos-nsvs/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 83140 2013-01-27 16:14:12Z pierre $ +# Maintainer: Dale Blount <dale@archlinux.org> + +pkgname=fssos-nsvs +pkgver=0.5 +pkgrel=9 +pkgdesc="NSVS for FSSOS" +arch=('i686' 'x86_64') +url="http://fssos.sourceforge.net/" +license=('GPL') +depends=('bash' 'mysql') +backup=('etc/nsvsd.conf') +options=('!libtool' '!makeflags') +install=$pkgname.install +source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz" + 'nsvsd' + 'nsvsd.service') + +build() { + cd $srcdir/nsvs-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc + make CFLAGS="${CFLAGS} -D_GNU_SOURCE" +} + +package() { + cd $srcdir/nsvs-$pkgver + make DESTDIR=$pkgdir install + install -D -m755 "$srcdir/nsvsd" "$pkgdir/etc/rc.d/nsvsd" + install -D -m644 "$srcdir/nsvsd.service" "$pkgdir/usr/lib/systemd/system/nsvsd.service" +} +md5sums=('3f17c2f6339f1a322b712b467023d825' + '4dfd9dc0d69b375587e39ab2621d9ea9' + '61e970d0704875b1da83cb4e9fc0eef5') |