summaryrefslogtreecommitdiff
path: root/extra/fssos-nsvs/PKGBUILD
blob: 9851d5158bf0b37cadd34451320c14ffa0d61bd0 (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 150944 2012-02-24 09:43:04Z pierre $
# Maintainer: Dale Blount <dale@archlinux.org>

pkgname=fssos-nsvs
pkgver=0.5
pkgrel=8
pkgdesc="NSVS for FSSOS"
arch=('i686' 'x86_64' 'mips64el')
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')
md5sums=('3f17c2f6339f1a322b712b467023d825'
         '4dfd9dc0d69b375587e39ab2621d9ea9')

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
}