blob: 8a84e25c878b1611f52301d2d3fd137e07152045 (
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
|
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=exult-git
pkgver=6891.176935e
pkgrel=2
pkgdesc="A recreation of the Ultima 7 engine"
arch=('i686' 'x86_64')
url="http://exult.sourceforge.net/"
license=('GPL2')
depends=('sdl_mixer' 'alsa-lib' 'gcc-libs' 'libxft')
optdepends=('libpng' 'timidity++')
makedepends=('git' 'autoconf-archive')
provides=('exult')
conflicts=('exult' 'exult-cvs' 'exult-svn')
replaces=('exult-cvs' 'exult-svn')
source=('exult::git+https://github.com/exult/exult.git'
'http://downloads.sourceforge.net/exult/exult_audio.zip')
md5sums=('SKIP'
'1905328f00bbbfee33812c1942bc7880')
pkgver() {
cd "$srcdir/exult"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/exult"
autoreconf -v -i
LIBS="-lXft -lX11" ./configure --prefix=/usr --enable-shared --disable-static \
--with-timidity="/etc/timidity++/timidity.cfg"
make
}
package() {
cd "$srcdir/exult"
make DESTDIR="$pkgdir" install
# Install audio files
install -d -m755 "$pkgdir"/usr/share/exult/music
install "$srcdir"/*.flx "$pkgdir"/usr/share/exult/
install "$srcdir"/*.txt "$pkgdir"/usr/share/exult/
install "$srcdir"/music/*.ogg "$pkgdir"/usr/share/exult/music
}
|