diff options
author | bl00dy1837 | 2020-12-21 11:26:52 +0100 |
---|---|---|
committer | bl00dy1837 | 2020-12-21 11:26:52 +0100 |
commit | 781d9569f20f0feb0882e626f914cc42f373160a (patch) | |
tree | 72a79c3dabbf57eec13f4555c58d6bb8369fdff8 | |
download | aur-781d9569f20f0feb0882e626f914cc42f373160a.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 48 | ||||
-rw-r--r-- | ardentryst.sh | 4 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..953b9c2cb0df --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ardentryst-git + pkgdesc = An action/RPG sidescoller with a focus on story and character development + pkgver = r48.a135dba + pkgrel = 1 + url = https://github.com/ardentryst/ardentryst + arch = any + license = GPL3 + license = CCPL + depends = python-pygame + conflicts = ardentryst + source = git+https://github.com/ardentryst/ardentryst.git + source = ardentryst.sh + md5sums = SKIP + md5sums = ff70054fd330fea43c67c9b7486080c3 + +pkgname = ardentryst-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c4f49ba13907 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> +# Contributor: Adria Arrufat (archdria) <swiftscythe@gmail.com> + +_pkgname=ardentryst +pkgname=${_pkgname}-git +pkgver=r48.a135dba +pkgrel=1 +pkgdesc="An action/RPG sidescoller with a focus on story and character development" +arch=('any') +conflicts=(${_pkgname}) +url="https://github.com/ardentryst/ardentryst" +license=('GPL3' 'CCPL') +depends=('python-pygame') +source=(git+https://github.com/ardentryst/ardentryst.git + ${_pkgname}.sh) +md5sums=('SKIP' + 'ff70054fd330fea43c67c9b7486080c3') + +pkgver() { + cd "${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}"/"${_pkgname}" + + # install data + install -m755 -d "${pkgdir}"/usr/share/${_pkgname} + cp -rf \ + {Base,Data,Fonts,Levels,Music,Sounds,COPYING*} \ + *.{py,txt,png,xml,dig} \ + "${pkgdir}"/usr/share/${_pkgname}/ + + # set permissions + find "${pkgdir}"/usr/share/${_pkgname} -type d -exec chmod 755 {} + + find "${pkgdir}"/usr/share/${_pkgname} -type f -exec chmod 644 {} + + + # install icon + install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/${_pkgname}.png + + # install .desktop file + install -Dm644 Ardentryst.desktop "${pkgdir}"/usr/share/applications/${_pkgname}.desktop + + # install launcher + install -Dm755 ../${_pkgname}.sh "${pkgdir}"/usr/bin/${_pkgname} +} diff --git a/ardentryst.sh b/ardentryst.sh new file mode 100644 index 000000000000..a2617eeddd5f --- /dev/null +++ b/ardentryst.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /usr/share/ardentryst +python3 ardentryst.py "$@" |