updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sn / PKGBUILD
blobe76f94c2d59ac3a850431e9344fef5c09e22156e
1 # Maintainer: karnath <karnathtorjian@gmail.com>
3 pkgname=sn
4 pkgver=0.3.8
5 pkgrel=2
6 pkgdesc="A small news system for small sites."
7 arch=(i686 x86_64)
8 url="http://infa.abo.fi/~patrik/sn"
9 license=("GPL")
10 depends=('zlib' 'bash')
11 install="$pkgname.install"
12 source=($url/files/$pkgname-$pkgver.tar.bz2)
13 md5sums=('157276c0ef8adff5031b0d3950b5a32f')
15 build() {
16   cd $srcdir/$pkgname-$pkgver
17   sed -i "s:-g -Wall -pedantic -O:${CFLAGS}:" Makefile
18   make PREFIX=/usr || return 1
19   mkdir -p $pkgdir/{usr/{man/man8,sbin},var/spool/news}
20   make PREFIX=$pkgdir/usr install
21   mknod -m 600 $pkgdir/var/spool/news/.fifo p