mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:47:15 +08:00
Added Tanglet 1.2.0.
This commit is contained in:
parent
ce08e2e4d1
commit
586b6d1851
29
tanglet/PKGBUILD
Normal file
29
tanglet/PKGBUILD
Normal 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
12
tanglet/tanglet.install
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user