Added Tanglet 1.2.0.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2011-11-17 18:15:56 +00:00
parent ce08e2e4d1
commit 586b6d1851
2 changed files with 41 additions and 0 deletions

29
tanglet/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Graeme Gott <graeme@gottcode.org>
pkgname=tanglet
pkgver=1.2.0
pkgrel=1
pkgdesc="A single player word finding game based on Boggle"
arch=('i686' 'x86_64')
url="http://gottcode.org/${pkgname}/"
license=('GPL3')
depends=('qt' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils')
install=${pkgname}.install
source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
md5sums=('c95808822c7eeb6ec145f648d3672b1b')
sha256sums=('ef610c008439dbeb5c71d904ad71176ed1b67f4f55c85bab460e64d4b816c36b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
qmake PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}/" install
}

12
tanglet/tanglet.install Normal file
View File

@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}