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-ktuberling | |
parent | 7c92c5fcfb5653f63243842299e413672653d1ad (diff) |
Sat Feb 9 00:07:22 PST 2013
Diffstat (limited to 'extra/kdegames-ktuberling')
-rw-r--r-- | extra/kdegames-ktuberling/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdegames-ktuberling/kdegames-ktuberling.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/kdegames-ktuberling/PKGBUILD b/extra/kdegames-ktuberling/PKGBUILD new file mode 100644 index 000000000..c5e645310 --- /dev/null +++ b/extra/kdegames-ktuberling/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 177721 2013-02-08 08:57:44Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdegames-ktuberling +pkgver=4.10.0 +pkgrel=1 +pkgdesc="A simple constructor game suitable for children and adults alike" +url="http://kde.org/applications/games/ktuberling/" +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/ktuberling-${pkgver}.tar.xz") +sha1sums=('82a14f5c8b4d95b02a7e430ba5340203feecdef8') + +build() { + mkdir build + cd build + cmake ../ktuberling-${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-ktuberling/kdegames-ktuberling.install b/extra/kdegames-ktuberling/kdegames-ktuberling.install new file mode 100644 index 000000000..6c87527e2 --- /dev/null +++ b/extra/kdegames-ktuberling/kdegames-ktuberling.install @@ -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 +} |