diff options
Diffstat (limited to 'community/fssos-nsvs/PKGBUILD')
-rw-r--r-- | community/fssos-nsvs/PKGBUILD | 30 |
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" +} |