summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36271e164e49b57368bdac7458065092613d9aa4 (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
pkgname=soqt-hg
pkgver=1933.e8310fe21c1b
pkgrel=1
pkgdesc="The glue between Coin & Qt"
arch=('i686' 'x86_64')
url="https://bitbucket.org/Coin3D/soqt"
license=("GPL")
depends=('coin' 'qt4')
makedepends=('doxygen' 'mercurial')
provides=('soqt')
conflicts=('soqt')
options=('!libtool')
source=("${pkgname}::hg+https://bitbucket.org/Coin3D/soqt"
	 "hg+https://bitbucket.org/Coin3D/generalmsvcgeneration"
	 "hg+https://bitbucket.org/Coin3D/soanydata"
	 "hg+https://bitbucket.org/Coin3D/sogui")
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')

pkgver() {
	cd "${srcdir}/${pkgname}"
	echo "$(hg identify -n).$(hg identify -i)"
}

build() {
	cd "${srcdir}/${pkgname}"
	./configure --prefix=/usr \
		--enable-optimization \
		--enable-man \
		--enable-exceptions \
		--disable-debug \
		--disable-maintainer-mode \
		--disable-dependency-tracking \
		--enable-shared \
		--disable-static \
		--with-qt=/usr \
		--enable-threadsafe \
		--enable-html
	make
}

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