blob: 4b8d4da1ac2cf431acc6bd0074394b9d5f7e1140 (
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
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Ainola
# Contributor: Ner0
# Contributor: quantax
pkgname=ags-git
pkgver=v.3.3.5.4.r0.g1ea2d33
pkgrel=1
pkgdesc="Adventure Game Studio, 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=('git' 'wxgtk')
optdepends=('wine: for installing and configuring the game')
conflicts=('ags')
install=ags.install
source=('git://github.com/adventuregamestudio/ags.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/ags"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
#prepare() {
# cd "$srcdir/ags"
# sed -i 's/-Wfatal-errors\ //' Engine/Makefile-defs.linux
# git submodule update --init
#}
build() {
cd "$srcdir/ags"
make -C Engine
}
package() {
install -Dm755 "$srcdir/ags/Engine/ags" "$pkgdir/usr/bin/ags"
install -Dm644 "$srcdir/ags/License.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|