diff options
author | Eric Griffis | 2015-12-18 13:24:09 -0800 |
---|---|---|
committer | Eric Griffis | 2015-12-18 13:36:11 -0800 |
commit | 861688dcf11cfbc19bc51fc37980e30a1ee5c65c (patch) | |
tree | 0349ecd4e7c5574e025dd657f2db10a039976eae | |
download | aur-861688dcf11cfbc19bc51fc37980e30a1ee5c65c.tar.gz |
add a minimal PKGBUILD
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c188af663a41 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Fri Dec 18 21:36:04 UTC 2015 +pkgbase = twinejs-standalone + pkgdesc = an open-source tool for telling interactive, nonlinear stories + pkgver = 2.0.10 + pkgrel = 1 + url = http://twinery.org/ + arch = x86_64 + license = GPL3 + options = !strip + source = https://bitbucket.org/klembot/twinejs/downloads/twine_2.0.10_linux64.zip + md5sums = 038e134e0469ec1fdf49cdde5f6737ab + +pkgname = twinejs-standalone + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ff08212f7eac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Eric Griffis <dedbox at gmail dot com> +pkgname=twinejs-standalone +pkgver=2.0.10 +pkgrel=1 +pkgdesc="an open-source tool for telling interactive, nonlinear stories" +arch=('x86_64') +url="http://twinery.org/" +license=('GPL3') +source=("https://bitbucket.org/klembot/twinejs/downloads/twine_${pkgver}_linux64.zip") +md5sums=('038e134e0469ec1fdf49cdde5f6737ab') +options=(!strip) + +prepare() { + mv "twine_${pkgver}_linux64" "${pkgname}_${pkgver}_linux64" +} + +package() { + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/opt" + cp -r "${pkgname}_${pkgver}_linux64" "$pkgdir/opt" + ln -s "/opt/${pkgname}_${pkgver}_linux64/Twine" "$pkgdir/usr/bin/Twine" +} |