summaryrefslogtreecommitdiff
path: root/community/fssos-nsvs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fssos-nsvs/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fssos-nsvs/PKGBUILD')
-rw-r--r--community/fssos-nsvs/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/fssos-nsvs/PKGBUILD b/community/fssos-nsvs/PKGBUILD
new file mode 100644
index 000000000..d9e7a0399
--- /dev/null
+++ b/community/fssos-nsvs/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 90505 2013-05-12 23:35:37Z eric $
+# Maintainer: Dale Blount <dale@archlinux.org>
+
+pkgname=fssos-nsvs
+pkgver=0.5
+pkgrel=11
+pkgdesc="NSVS for FSSOS"
+arch=('i686' 'x86_64')
+url="http://fssos.sourceforge.net/"
+license=('GPL')
+depends=('bash' 'mariadb')
+backup=('etc/nsvsd.conf')
+options=('!libtool' '!makeflags')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz"
+ 'nsvsd.service')
+md5sums=('3f17c2f6339f1a322b712b467023d825'
+ '9c791d2086e13f774548d9d6ba2cf9d5')
+
+build() {
+ cd nsvs-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+ make CFLAGS="${CFLAGS} -D_GNU_SOURCE"
+}
+
+package() {
+ cd nsvs-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m644 "$srcdir/nsvsd.service" "$pkgdir/usr/lib/systemd/system/nsvsd.service"
+}