From de25031b9839f64f7e41de83596015dec806aeb7 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 02:39:47 +0300 Subject: Adding tanglet PKGBUILD and install file --- pcr/tanglet/PKGBUILD | 28 ++++++++++++++++++++++++++++ pcr/tanglet/tanglet.install | 11 +++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pcr/tanglet/PKGBUILD create mode 100644 pcr/tanglet/tanglet.install (limited to 'pcr/tanglet') 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 +# Maintainer (Parabola): Alon Ivtsan +# 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 +} -- cgit v1.2.3-54-g00ecf