blob: c803c226ebea8344cda481fdcaab220ad68a54d3 (
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
|
# Maintainer: ibrokemypie <ibrokemypie@bastardi.net>
pkgname=nxengine-evo
pkgver=2.6.5.1
_ver=2.6.5-1
_langver=1.14
pkgrel=3
pkgdesc="A somewhat upgraded/refactored version of nxengine"
arch=('i686' 'x86_64')
url="https://github.com/isage/nxengine-evo"
license=('GPL3')
depends=(sdl2_mixer sdl2_image sdl2_ttf)
makedepends=(cmake libpng libjpeg)
source=("https://github.com/isage/nxengine-evo/archive/v${_ver}.tar.gz"
"https://www.cavestory.org/downloads/cavestoryen.zip"
"https://github.com/nxengine/translations/releases/download/v${_langver}/all.zip")
sha256sums=('db9b78b0c4005959ab8f3a6a05c02d86e764e6593cdd11a2178c581bb03a0699'
'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f'
'1dd85a8c230c5ebf23c6fd6283fe168d9bf4044339d1e93e324bd336165a4422')
build() {
cd "${pkgname}-${_ver}"
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=None -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr ..
make
cd ../
cp -r "../CaveStory/data/" "./"
cp "../CaveStory/Doukutsu.exe" "./"
cp -r "../data/" "./"
./build/nxextract
}
package() {
cd "${pkgname}-${_ver}/build"
make DESTDIR="$pkgdir" install
}
|