summaryrefslogtreecommitdiff
path: root/community/fssos-nsvs/PKGBUILD
blob: d9e7a0399b931384ba615f4b29ffe77e5c961da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
}