diff options
author | Côme Chilliet | 2015-10-19 17:38:32 +0200 |
---|---|---|
committer | Côme Chilliet | 2015-10-19 17:38:32 +0200 |
commit | 9003a93bfc9b1f4a9d1b229ba1e24f274aa861a6 (patch) | |
tree | 222b94943bad8b7e99b7130cde6ac590378a5303 | |
download | aur-9003a93bfc9b1f4a9d1b229ba1e24f274aa861a6.tar.gz |
Added PKGBUILD and SRCINFO
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3c3191b687a7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = anticube2-git + pkgdesc = Interactive non-linear puzzle game based on Tesseract + pkgver = 5c8fe63 + pkgrel = 1 + url = http://quadropolis.us/node/4182 + arch = i686 + arch = x86_64 + license = CC-BY + makedepends = git + depends = tesseract-game + source = git://github.com/Kvaleya/Anticube2.git + md5sums = SKIP + +pkgname = anticube2-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7561dae4d994 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Mantainer: MCMic <come@chilliet.eu> + +pkgname=anticube2-git +pkgver=5c8fe63 +pkgrel=1 +pkgdesc="Interactive non-linear puzzle game based on Tesseract" +arch=('i686' 'x86_64') +url="http://quadropolis.us/node/4182" +license=('CC-BY') +depends=(tesseract-game) +makedepends=('git') +source=("git://github.com/Kvaleya/Anticube2.git") +md5sums=(SKIP) +_gitname='Anticube2' + +pkgver() { + cd ${_gitname} + git describe --always | sed 's|-|.|g' +} + +package() { + cd ${srcdir}/${_gitname} + mkdir -p ${pkgdir}/usr/share/tesseract-game/ + mkdir -p ${pkgdir}/usr/bin/ + cp -r media ${pkgdir}/usr/share/tesseract-game/ + echo -e "#!/bin/sh\ntesseract-game -x\"hudgun 0; ao 0\" -lac2" > ${pkgdir}/usr/bin/anticube2 + chmod +x ${pkgdir}/usr/bin/anticube2 +} |