summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoribrokemypie2017-07-16 19:28:13 +1000
committeribrokemypie2017-07-16 19:28:13 +1000
commite1b67901f4137e4895374e947caa2e3d3af02d4e (patch)
tree621a1140da27d9cff7dd6a4ec5bc090ee622f793
parent208661ebef237436c5057e6447cf71d28bed9124 (diff)
downloadaur-e1b67901f4137e4895374e947caa2e3d3af02d4e.tar.gz
Remove gcc from makedeps, use install for package()
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD8
2 files changed, 3 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 576f4990c74..8c83babbb24 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,6 @@ pkgbase = nxengine-evo
arch = x86_64
license = GPL3
makedepends = libpng
- makedepends = gcc
makedepends = cmake
depends = sdl2_ttf
source = https://github.com/isage/nxengine-evo/archive/v2.4.1.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 5d960026aa9..14e46ea2841 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ arch=('i686' 'x86_64')
url="https://github.com/isage/nxengine-evo"
license=('GPL3')
depends=(sdl2_ttf)
-makedepends=(libpng gcc cmake)
+makedepends=(libpng cmake)
source=("https://github.com/isage/nxengine-evo/archive/v${pkgver}.tar.gz"
"http://www.cavestory.org/downloads/cavestoryen.zip"
@@ -31,8 +31,6 @@ build() {
}
package() {
- mkdir -p $pkgdir/usr/share/
- mkdir -p $pkgdir/usr/bin/
- cp -r CaveStory/ $pkgdir/usr/share/nxengine-evo
- cp nx-evo $pkgdir/usr/bin/nx-evo
+ install -Ddm655 CaveStory "$pkgdir"/usr/share/nxengine-evo
+ install -Dm755 nx-evo "$pkgdir"/usr/bin/nx-evo
}