diff options
Diffstat (limited to 'testing/fssos-nsvs/PKGBUILD')
-rw-r--r-- | testing/fssos-nsvs/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/fssos-nsvs/PKGBUILD b/testing/fssos-nsvs/PKGBUILD new file mode 100644 index 000000000..aca81ddc4 --- /dev/null +++ b/testing/fssos-nsvs/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 167185 2012-09-26 22:19:44Z tomegun $ +# 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') |