diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kshutdown | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kshutdown')
-rw-r--r-- | community/kshutdown/PKGBUILD | 32 | ||||
-rw-r--r-- | community/kshutdown/kshutdown.install | 13 |
2 files changed, 45 insertions, 0 deletions
diff --git a/community/kshutdown/PKGBUILD b/community/kshutdown/PKGBUILD new file mode 100644 index 000000000..01108ab54 --- /dev/null +++ b/community/kshutdown/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 93787 2013-07-10 09:09:23Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=kshutdown +pkgver=3.0 +pkgrel=1 +pkgdesc='Shutdown Utility for KDE' +arch=('x86_64' 'i686') +url='http://kshutdown.sourceforge.net/' +license=('GPL') +depends=('kdebase-workspace') +makedepends=('cmake' 'automoc4') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip") +sha256sums=('71295e88e30538e6bc9aceb0ba2d60c2bb6c47739a97ee76f7f1f767044493ee') + +build() { + mkdir "$srcdir/build" + cd "$srcdir/build" + cmake "../$pkgname-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/build" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/kshutdown/kshutdown.install b/community/kshutdown/kshutdown.install new file mode 100644 index 000000000..0583fc931 --- /dev/null +++ b/community/kshutdown/kshutdown.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: |