diff options
author | matthias | 2020-08-16 15:46:45 +0200 |
---|---|---|
committer | matthias | 2020-08-16 15:46:45 +0200 |
commit | b0070842e12947beff1fddc233aea146bda01926 (patch) | |
tree | e27f8459dc4a9954f43293231b11dfbdc035d322 | |
download | aur-b0070842e12947beff1fddc233aea146bda01926.tar.gz |
initial commit
Signed-off-by: matthias <uso.cosmo.ray@gmail.com>
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4bfb66033bcb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = sukeban-git + pkgdesc = FOSS JRPG about school and stuff, still heavilly in devlopement + pkgver = r666.602304d + pkgrel = 1 + url = http://github.com/ArthurRobein/Pre-Hangover-Quest + arch = x86_64 + depends = yirl-git + source = git://github.com/ArthurRobein/Pre-Hangover-Quest.git + sha256sums = SKIP + +pkgname = sukeban-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a1a9cb9da80 --- /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/" +} |