summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoribrokemypie2017-12-21 01:51:05 +1100
committeribrokemypie2017-12-21 01:51:05 +1100
commitf8369dcf19ae95849fc66b4e97cc19c5fdf3bd71 (patch)
tree6a01a7d12c228405e30ea8ebe24c02fcb588b93f
parent56dff491d1f5b3eff76d957f8c426b581533bbb3 (diff)
downloadaur-f8369dcf19ae95849fc66b4e97cc19c5fdf3bd71.tar.gz
Update to 2.6
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD38
-rwxr-xr-xnx-evo3
3 files changed, 28 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b402356ff1b..b1cbac38a08 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = nxengine-evo
pkgdesc = A somewhat upgraded/refactored version of nxengine
- pkgver = 2.4.1
- pkgrel = 2
+ pkgver = 2.6
+ pkgrel = 1
url = https://github.com/isage/nxengine-evo
arch = i686
arch = x86_64
license = GPL3
- makedepends = libpng
makedepends = cmake
- depends = sdl2_ttf
- source = https://github.com/isage/nxengine-evo/archive/v2.4.1.tar.gz
- source = http://www.cavestory.org/downloads/cavestoryen.zip
- source = nx-evo
- sha256sums = bd3be7e964e445da3e1821f027ecb192b4c62333702e65cc0bae505a85aa16ad
+ makedepends = sdl2_ttf
+ depends = sdl2_mixer
+ depends = libpng
+ source = https://github.com/isage/nxengine-evo/archive/nxengine-evo-2.6.tar.gz
+ source = https://www.cavestory.org/downloads/cavestoryen.zip
+ sha256sums = c893ba034d89249a22fa9a2c2d4f24f48c2e6d5744a430df6b6a87ab35822f87
sha256sums = aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f
- sha256sums = 36019935c4ff76546e52b47523a6af33a4055ceca806b4940e0574aa46b368e1
pkgname = nxengine-evo
diff --git a/PKGBUILD b/PKGBUILD
index 98109071785..0f560031d18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,39 @@
# Maintainer: ibrokemypie <ibrokemypie@bastardi.net>
pkgname=nxengine-evo
-pkgver=2.4.1
-pkgrel=2
+pkgver=2.6
+pkgrel=1
pkgdesc="A somewhat upgraded/refactored version of nxengine"
arch=('i686' 'x86_64')
url="https://github.com/isage/nxengine-evo"
license=('GPL3')
-depends=(sdl2_ttf)
-makedepends=(libpng cmake)
+depends=(sdl2_mixer libpng)
+makedepends=(cmake sdl2_ttf)
-source=("https://github.com/isage/nxengine-evo/archive/v${pkgver}.tar.gz"
- "http://www.cavestory.org/downloads/cavestoryen.zip"
- "nx-evo")
+source=("https://github.com/isage/nxengine-evo/archive/${pkgname}-${pkgver}.tar.gz"
+ "https://www.cavestory.org/downloads/cavestoryen.zip")
-sha256sums=('bd3be7e964e445da3e1821f027ecb192b4c62333702e65cc0bae505a85aa16ad'
- 'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f'
- '36019935c4ff76546e52b47523a6af33a4055ceca806b4940e0574aa46b368e1')
+sha256sums=('c893ba034d89249a22fa9a2c2d4f24f48c2e6d5744a430df6b6a87ab35822f87'
+ 'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f')
build() {
cd "$pkgname-$pkgver"
- mkdir build
+
+ #Compile
+ mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
- cp ../bin/* ../../CaveStory/
- cp -r ../data/ ../../CaveStory/
- cd ../../CaveStory
- chmod +x ./extract
- ./extract
+ cd ..
+
+ #Extract content
+ cp -r data/ ../CaveStory/
+ chmod +x bin/extract
+ cd ../CaveStory
+ ../"$pkgname-$pkgver"/bin/extract
}
package() {
mkdir -p "$pkgdir"/usr/share
- cp -r CaveStory/ "$pkgdir"/usr/share/nxengine-evo
- install -Dm755 nx-evo "$pkgdir"/usr/bin/nx-evo
+ cp -r CaveStory/ "$pkgdir"/usr/share/nxengine
+ install -Dm755 "$pkgname-$pkgver"/bin/nx "$pkgdir"/usr/bin/nx-evo
}
diff --git a/nx-evo b/nx-evo
deleted file mode 100755
index f1567965058..00000000000
--- a/nx-evo
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd /usr/share/nxengine-evo
-exec ./nx "$@"