diff options
author | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
commit | 6c114b503b2456476f22ff6bdb2b45cac8dac612 (patch) | |
tree | 663d91755132361628dec7a42b77734ecf7b36b7 /extra/kdeedu-pairs | |
parent | 9d36fcd5638035abf19f303deebd9e861d384254 (diff) |
Wed Aug 8 00:02:17 UTC 2012
Diffstat (limited to 'extra/kdeedu-pairs')
-rw-r--r-- | extra/kdeedu-pairs/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdeedu-pairs/kdeedu-pairs.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/kdeedu-pairs/PKGBUILD b/extra/kdeedu-pairs/PKGBUILD new file mode 100644 index 000000000..1f70e86d6 --- /dev/null +++ b/extra/kdeedu-pairs/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 164896 2012-08-06 23:18:08Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdeedu-pairs +pkgver=4.9.0 +pkgrel=1 +pkgdesc="A memory and pairs game for KDE" +url="https://projects.kde.org/projects/kde/kdeedu/pairs" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeedu') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/pairs-${pkgver}.tar.xz") +sha1sums=('d040039b3cffc4b3375b6d5eca2e0a026187f359') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../pairs-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/kdeedu-pairs/kdeedu-pairs.install b/extra/kdeedu-pairs/kdeedu-pairs.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/extra/kdeedu-pairs/kdeedu-pairs.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 +} |