1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Boris Shomodjvarac <shomodj@gmail.com>
11 pkgdesc="Qore is a high-level, general-purpose, interpreted, dynamic programming language."
12 arch=("i686" "x86_64")
13 url="http://www.qore.org/"
14 license=('GPL2', "LGPL2")
16 depends=("flex" "openssl" "pcre" "bzip2" "zlib")
27 source=("http://sourceforge.net/projects/qore/files/$pkgname/$pkgver/${pkgname}-${pkgver}.tar.bz2" "configure.patch" "QoreLib.cpp.patch")
30 md5sums=('972ee75296cc4794cb3a538cdb4a3c1d'
31 '2d531930acb4a5b69c1f88ae062e9b19'
32 'e652c14baba41729c94fe74d79968c16')
35 cd "$srcdir/$pkgname-$pkgver"
37 _CONFIGURE_OPTS="--prefix=/usr --disable-static --disable-debug"
38 [ "$CARCH" = "x86_64" ] && _CONFIGURE_OPTS="$_CONFIGURE_OPTS --enable-64bit"
40 cp ../../configure.patch .
41 cp ../../QoreLib.cpp.patch lib/
43 patch < configure.patch
44 cd lib && patch < QoreLib.cpp.patch
47 echo "./configure $_CONFIGURE_OPTS"
48 ./configure $_CONFIGURE_OPTS
53 cd "$srcdir/$pkgname-$pkgver"
58 cd "$srcdir/$pkgname-$pkgver"
59 make DESTDIR="$pkgdir/" install
62 # vim:set ts=2 sw=2 et: