summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c84dd53a951e30ec4ede9cf865e236d5dfeb968d (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
# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be>

pkgname=4store
pkgver=1.1.6
pkgrel=4
pkgdesc="Efficient, scalable and stable RDF database"
arch=('i686' 'x86_64')
url="https://github.com/4store/4store"
license=('GPL')
depends=('raptor' 'rasqal' 'glib2' 'libxml2' 'pcre' 'avahi' 'readline' 'ncurses' 'termcap' 'expat' 'zlib')
options=('!emptydirs')
#source=("http://4store.org/download/${pkgname}-v${pkgver}.tar.gz")
source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('96c1f051ebe2ba799c064f89fc06633f')

prepare()
{
	cd "${srcdir}/${pkgname}-${pkgver}"

	echo '1.1.6' >> .version
	./autogen.sh
	./configure --prefix=/usr
	sed -i 's/#define _XOPEN_SOURCE/#define _GNU_SOURCE/' src/frontend/filter-datatypes.c
	sed -i 's/GStaticMutex rasqal_mutex/extern GStaticMutex rasqal_mutex/' src/frontend/query.h
}

build()
{
	cd "${srcdir}/${pkgname}-${pkgver}"

	LDFLAGS=-Wl make
}

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

}