summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 741697d3a61a075706f20ea868e5eee26214df47 (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
# Maintainer: Jozef Riha <jose1711 at gmail dot com>

pkgname=bennugd-core
pkgver=348
pkgrel=1
pkgdesc="a programming language to create games (Fenix successor) - core"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/bennugd/"
license=('zlib')
depends=('openssl')
source=("http://sourceforge.net/code-snapshots/svn/b/be/bennugd/code/bennugd-code-r${pkgver}.zip" x86_64-configure.patch)
md5sums=('SKIP'
         'bee8ea76634b5e0dbaf29c9b6d3b147f')

build() {
  cd $srcdir/bennugd-code-r${pkgver}/core
  chmod +x ./configure
  ./configure --prefix=/usr --build=i686-pc-linux-gnu
  #patch -p0 -i $srcdir/x86_64-configure.patch
  #find . -name Makefile -print0 | xargs -0 sed -i 's/--as-needed//'
  make
}

package() {
  cd $srcdir/bennugd-code-r${pkgver}/core
  make DESTDIR=${pkgdir} install
}