summaryrefslogtreecommitdiff
path: root/pcr/tanglet
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/tanglet')
-rw-r--r--pcr/tanglet/PKGBUILD28
-rw-r--r--pcr/tanglet/tanglet.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/pcr/tanglet/PKGBUILD b/pcr/tanglet/PKGBUILD
new file mode 100644
index 000000000..23e20cd6c
--- /dev/null
+++ b/pcr/tanglet/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Graeme Gott <graeme@gottcode.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://aur.archlinux.org/packages.php?ID=32311
+
+pkgname=tanglet
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="A single player word finding game based on Boggle."
+arch=('i686' 'x86_64')
+url="http://gottcode.org/${pkgname}/"
+license=('GPL3')
+depends=('qt4')
+install=${pkgname}.install
+source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
+md5sums=('109ad08a03cc64808fa2caad6c3a4a7c')
+sha256sums=('94f4c5c76020ec1fe502ff076fbe5471e497d4b7bcabd1e9059e1022d1ce80c8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt4 PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}/" install
+}
+
diff --git a/pcr/tanglet/tanglet.install b/pcr/tanglet/tanglet.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/pcr/tanglet/tanglet.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}