summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba8d8cff4e22443e8089a6215149b3936d03315b (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Erdal Mutlu <erdal at sisiya dot org>
pkgname=sisiyad
pkgver=0.6.31
pkgrel=1
epoch=
pkgdesc="The SisIYA daemon."
arch=('i686' 'x86_64')
url="http://www.sisiya.org"
license=('GPL2')
groups=()
depends=('sisiya-edbc-libs')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=(
	'etc/sisiya/sisiyad/sisiyad.conf'
	)
options=()
install=
changelog=
#source=("$pkgname-$pkgver.tar.gz")
source=("http://sourceforge.net/projects/sisiya/files/sisiya/$pkgver/pacman/$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('bed85c288b6f8680aac2dfe4ee31b8cc') #generate with 'makepkg -g'

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./bootstrap create
	./configure
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make "DESTDIR=$pkgdir" install

 	#mkdir -p $pkgdir/etc/systemd/system
 	install -d -m 755 $pkgdir/etc/systemd/system
	install -m 644 etc/sisiyad_systemd $pkgdir/etc/systemd/system/sisiyad.service
}

#systemctl daemon-reload
#systemctl enable sisiyad.service
#systemctl restart sisiyad