blob: 63a3fbb96ee6742187136475410239eb98d3100e (
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
|
# Maintainer: Ainola
# Contributor: Ner0
# Contributor: quantax
pkgname=ags
pkgver=3.4.1.5
pkgrel=1
pkgdesc="A development tool that is primarily used to create graphical adventure games"
arch=('i686' 'x86_64')
url="https://github.com/adventuregamestudio/ags"
license=('Artistic2.0')
depends=('allegro' 'dumb' 'libogg' 'libtheora' 'libvorbis')
makedepends=('wxgtk')
optdepends=('wine: for installing and configuring the game')
install=ags.install
source=("https://github.com/adventuregamestudio/ags/archive/v.${pkgver}.tar.gz")
sha256sums=('3c33167641f09133d3ddb46c607b716b2b79ef3e9c6b131c11895a44f2a1b136')
prepare() {
cd "$srcdir/ags-v.${pkgver}"
sed -i 's/-Wfatal-errors\ //' Engine/Makefile-defs.linux
}
build() {
cd "$srcdir/ags-v.${pkgver}"
make -C Engine
}
package() {
install -Dm755 "$srcdir/ags-v.${pkgver}/Engine/ags" \
"$pkgdir/usr/bin/ags"
install -Dm644 "$srcdir/ags-v.${pkgver}/License.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et
|