View difference between Paste ID: G3w8K9Z2 and UNSzRrtQ
SHOW: | | - or go back to the newest paste.
1
# Contributor: Gerardo Marset <gammer1994@gmail.com>
2
# Contributor: Christoph Zeiler <rabyte*gmail>
3
4
pkgname=adonthell
5
pkgver=0.3.5
6
pkgrel=7
7
pkgdesc="A 2D graphical, single player role playing game engine."
8
arch=('i686' 'x86_64')
9
url="http://adonthell.nongnu.org/"
10
license=('GPL')
11
depends=('sdl_mixer>=1.2' 'sdl_ttf>=2' 'python2')
12
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-src-$pkgver.tar.gz)
13
md5sums=('64a344b1ed8a7808d7adafa337120a00')
14
15
build() {
16
  cd $pkgname-$pkgver
17
18
  sed '/^ *for ac_prog in / s|python|python2|' -i configure
19-
  sed '/^CFLAGS="/ s|"|"-fpermissive |' -i configure
19+
  CFLAGS="$CFLAGS -fpermissive"
20
21-
  ./configure
21+
  ./configure --prefix=/usr
22
  make
23
  make DESTDIR=$pkgdir install
24
}