diff options
author | oli | 2015-06-12 22:02:12 +0200 |
---|---|---|
committer | oli | 2015-06-12 22:02:12 +0200 |
commit | 8ea107e1de582b1c8d0cbac6b3fe2ee23803ea9b (patch) | |
tree | aa48e1728921ffbe7125d7facd547e4a11396dbb | |
download | aur-8ea107e1de582b1c8d0cbac6b3fe2ee23803ea9b.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | gwcd | 2 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3ed0ebbbe767 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gwcd-git + pkgdesc = Whereigo files (.gwc) decompiler (git) + pkgver = r6.2481325 + pkgrel = 1 + url = https://github.com/driquet/gwcd + arch = i686 + arch = x86_64 + license = custom + depends = python + source = gwcd-git::git+https://github.com/driquet/gwcd.git + source = gwcd + md5sums = SKIP + md5sums = e21172d23a5cc196684fda686b8679ee + +pkgname = gwcd-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bd63dc40461e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Jozef Riha <jose1711 at gmail dot com> + +pkgname=gwcd-git +pkgdesc="Whereigo files (.gwc) decompiler (git)" +pkgver=r6.2481325 +pkgrel=1 +arch=('i686' 'x86_64') +url="https://github.com/driquet/gwcd" +license=('custom') +depends=('python') +source=("${pkgname}"::'git+https://github.com/driquet/gwcd.git' 'gwcd') +md5sums=('SKIP' + 'e21172d23a5cc196684fda686b8679ee') + +pkgver() { + cd "$srcdir/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + mkdir -p ${pkgdir}/usr/share/{doc/gwcd,gwcd,licenses/gwcd} + install -Dm644 $srcdir/${pkgname}/gwcd.py ${pkgdir}/usr/share/gwcd + install -Dm644 $srcdir/${pkgname}/reader.py ${pkgdir}/usr/share/gwcd + install -Dm755 $srcdir/gwcd $pkgdir/usr/bin/gwcd + install -Dm644 $srcdir/${pkgname}/README.rst $pkgdir/usr/share/doc/gwcd + install -Dm644 $srcdir/${pkgname}/LICENCE $pkgdir/usr/share/licenses/gwcd +} @@ -0,0 +1,2 @@ +#!/bin/bash +python /usr/share/gwcd/gwcd.py "$@" |