summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenObiWan2015-08-14 07:42:37 +0100
committerBenObiWan2015-08-14 07:42:37 +0100
commit07989e225b167551af5be52bebddc5c730fc8603 (patch)
tree407dcb604b0b6c9bc634a730b6e4cb474d6fdc8b
downloadaur-07989e225b167551af5be52bebddc5c730fc8603.tar.gz
Inital commit of zelda-roth-se-1.0.3
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a806f3a1778
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = zelda-roth-se
+ pkgdesc = Zelda : Return of the Hylian solarus edition.
+ pkgver = 1.0.3
+ pkgrel = 1
+ url = http://www.zelda-solarus.com/
+ arch = any
+ license = custom
+ makedepends = zip
+ makedepends = cmake
+ depends = solarus>=1.4.0
+ source = http://www.zelda-solarus.com/downloads/zelda-roth-se/zelda-roth-se-1.0.3.tar.gz
+ md5sums = fdddc764e0515d99a122f219f41836b0
+
+pkgname = zelda-roth-se
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..276a2187816
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: BenObiWan <benobiwan @t gmail dot com>
+
+pkgname=zelda-roth-se
+pkgver=1.0.3
+pkgrel=1
+epoch=
+pkgdesc="Zelda : Return of the Hylian solarus edition."
+arch=('any')
+url="http://www.zelda-solarus.com/"
+license=('custom')
+groups=()
+depends=('solarus>=1.4.0')
+makedepends=('zip' 'cmake')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(http://www.zelda-solarus.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz)
+noextract=()
+md5sums=('fdddc764e0515d99a122f219f41836b0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i "s/echo 'solarus/echo 'solarus_run/" CMakeLists.txt
+ cmake -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_BUILD_TYPE=Release .
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" PREFIX="/usr" install
+}
+