diff options
author | root <root@rshg054.dnsready.net> | 2013-02-09 00:07:22 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-09 00:07:22 -0800 |
commit | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (patch) | |
tree | 64f1532d7e6e652c2ea5a0bb5efd7ea36f431535 /extra/kdegames-palapeli | |
parent | 7c92c5fcfb5653f63243842299e413672653d1ad (diff) |
Sat Feb 9 00:07:22 PST 2013
Diffstat (limited to 'extra/kdegames-palapeli')
-rw-r--r-- | extra/kdegames-palapeli/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdegames-palapeli/kdegames-palapeli.install | 13 |
2 files changed, 44 insertions, 0 deletions
diff --git a/extra/kdegames-palapeli/PKGBUILD b/extra/kdegames-palapeli/PKGBUILD new file mode 100644 index 000000000..23381dd90 --- /dev/null +++ b/extra/kdegames-palapeli/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 177724 2013-02-08 08:57:48Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdegames-palapeli +pkgver=4.10.0 +pkgrel=1 +pkgdesc="A single-player jigsaw puzzle game" +url="http://kde.org/applications/games/palapeli/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdegames') +depends=('kdebase-runtime' 'libkdegames') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/palapeli-${pkgver}.tar.xz") +sha1sums=('da5a7b197e6a641c4882d15e85923303e2646567') + +build() { + mkdir build + cd build + cmake ../palapeli-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/kdegames-palapeli/kdegames-palapeli.install b/extra/kdegames-palapeli/kdegames-palapeli.install new file mode 100644 index 000000000..279b8f38d --- /dev/null +++ b/extra/kdegames-palapeli/kdegames-palapeli.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |