blob: ceb232fc9d3b3277886c140e3162b98c42cf51e8 (
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
44
45
|
#Maintainer: Okabe Zero-Link (okbzl). Email: okabezerolink@gmail.com
_pkgname=xsystem4
pkgname=${_pkgname}-git
pkgver=1.0.0.r223.g5bb36c7
pkgver() {
cd "$pkgname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgrel=1
pkgdesc="This is a cross-platform implementation of AliceSoft's System 4 engine"
arch=(x86_64)
url="https://github.com/nunuhara/xsystem4"
license=('GPL-2.0-only')
depends=(chibi-scheme ffmpeg freetype2 libffi libpng libsndfile libjpeg-turbo libwebp sdl2 zlib)
makedepends=(bison flex glew meson)
source=("${pkgname}::git+https://github.com/nunuhara/xsystem4.git")
conflicts=(${_pkgname})
provides=("xsystem4=${pkgver}")
sha256sums=('SKIP')
prepare () {
cd "$srcdir/${pkgname}"
mkdir build
}
build() {
cd "$srcdir/${pkgname}"
meson setup build --prefix /usr
ninja -C build
}
package() {
cd "$srcdir/${pkgname}"
DESTDIR="$pkgdir" ninja -C build install
echo "#######################################################################"
echo "Regarding compatibility of xsystem4 to AliceSoft games:"
echo "This should be compatible with AliceSoft games that's published"
echo "since DALK Gaiden (2002) to Rance IX (2014). Any game that's"
echo "published after this that are either not a translation or a simple"
echo "rerelease aren't compatible. Please read the game compatibility list"
echo "for more details"
echo "https://github.com/nunuhara/xsystem4/blob/master/game_compatibility.md"
echo "#######################################################################"
}
|