summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d276eb1015201001d21f76a13c5ec9758c8ecf9d (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
49
50
51
52
53
54
# Maintainer: Tetsumi <tetsumi@vmail.me>
# Contributor: Boris Shomodjvarac <spam AT shomodj DOT com>

pkgname=qore
pkgver=0.8.11
pkgrel=1
epoch=
pkgdesc="Qore is a high-level, general-purpose, interpreted, dynamic programming language"
arch=("i686" "x86_64")
url="http://www.qore.org/"
license=('GPL2', "LGPL2")
groups=()
depends=("flex" "openssl" "pcre" "bzip2" "zlib" "bison")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://sourceforge.net/projects/qore/files/$pkgname/$pkgver/${pkgname}-${pkgver}.tar.bz2")
md5sums=('483510cdcb6338ff6cb892cc29a98a63')
noextract=()

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

  sed 's/LIBSUFFIX=64/LIBSUFFIX=""/g' configure -i

  _CONFIGURE_OPTS="--prefix=/usr --disable-static --disable-debug"
  [ "$CARCH" = "x86_64" ] && _CONFIGURE_OPTS="$_CONFIGURE_OPTS --enable-64bit"

  echo "./configure $_CONFIGURE_OPTS"
  ./configure $_CONFIGURE_OPTS
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

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



# vim:set ts=2 sw=2 et: