summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4a1a9cb9da8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Matthias Gatto <uso.cosmo.ray at gmail dot com>
+
+pkgname=sukeban-git
+pkgver=r666.602304d
+pkgrel=1
+pkgdesc="FOSS JRPG about school and stuff, still heavilly in devlopement"
+
+
+arch=('x86_64')
+
+url='http://github.com/ArthurRobein/Pre-Hangover-Quest'
+
+licence=(LGPL3)
+
+pkgver() {
+ cd "${srcdir}/Pre-Hangover-Quest"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+depends=(yirl-git)
+
+source=(git://github.com/ArthurRobein/Pre-Hangover-Quest.git)
+sha256sums=("SKIP")
+
+build() {
+ cd "${srcdir}/Pre-Hangover-Quest"
+ git submodule update --init --recursive
+}
+
+package() {
+ cd "${srcdir}/Pre-Hangover-Quest"
+ mkdir -p "$pkgdir/usr/share/sukeban"
+ cp -rv * "$pkgdir/usr/share/sukeban/"
+ mkdir -p "$pkgdir/usr/bin/"
+ echo "#!/bin/sh" > "$pkgdir/usr/bin/sukeban"
+ echo "yirl-loader --default-tcc-path --binary-root-path /usr/share/yirl/ -d /usr/share/sukeban/ -L" >> "$pkgdir/usr/bin/sukeban"
+ chmod +x "$pkgdir/usr/bin/sukeban"
+ mkdir -p "$pkgdir/usr/share/applications"
+ cp sukeban.desktop "$pkgdir/usr/share/applications/"
+}