diff options
author | Stephen Bell | 2015-10-22 03:20:04 -0400 |
---|---|---|
committer | Stephen Bell | 2015-10-22 03:20:04 -0400 |
commit | 1136818eba3b186ea8f6a6010ddc7b4038209ccf (patch) | |
tree | 5d167ad826f506ce263fcec195b80b9d0f4ef863 /PKGBUILD | |
download | aur-1136818eba3b186ea8f6a6010ddc7b4038209ccf.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4001870088f9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Stephen Bell <theredbaron1834 @ yahoo.com> +pkgname=playbox +pkgrel=1 +pkgver=1.6.1 +pkgdesc="A growing collection of board games." +arch=('x86_64') +url="http://sourceforge.net/projects/playbox/" +license=('Eclipse Public License') +depends=('gtk3') +makedepends=('unzip') + +build() { + + msg "Grabbing files...." + curl http://sourceforge.net/projects/playbox/files/6/playbox-1.6.1.linux.gtk.x86_64.zip/download -L -o playbox.zip + unzip playbox.zip + +} + +package() { + cd "$pkgdir" + install -m777 -d "$pkgdir/opt/playbox" + cp -r "$srcdir/playbox" "$pkgdir/opt/" + mkdir -p "$pkgdir/usr/share/applications/" + mkdir -p "$pkgdir/usr/bin/" + echo "[Desktop Entry] +Name=Playbox +GenericName=Playbox +Comment=A growing collection of board games. +Exec=playbox +Icon=/opt/playbox/icon.xpm +Terminal=false +Type=Application +Categories=Game;" > "$pkgdir/usr/share/applications/playbox.desktop" + echo "cd /opt/playbox/ +./playbox -configuration ~/.config/playbox/ " > "$pkgdir/usr/bin/playbox" + chmod +x "$pkgdir/usr/bin/playbox" +} + |