diff options
Diffstat (limited to 'extra/kshutdown')
-rw-r--r-- | extra/kshutdown/PKGBUILD | 30 | ||||
-rw-r--r-- | extra/kshutdown/kshutdown.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/extra/kshutdown/PKGBUILD b/extra/kshutdown/PKGBUILD new file mode 100644 index 000000000..0bd65cffc --- /dev/null +++ b/extra/kshutdown/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 110106 2011-02-16 13:52:25Z andrea $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=kshutdown +pkgver=2.0beta12 +pkgrel=1 +pkgdesc="Shutdown Utility for KDE" +arch=(i686 x86_64) +url="http://kshutdown.sourceforge.net/" +license=('GPL') +depends=('kdebase-workspace') +makedepends=('pkgconfig' 'cmake' 'automoc4') +install='kshutdown.install' +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.zip") + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('392a345dab6fc4f6125007171bc8cb9c') diff --git a/extra/kshutdown/kshutdown.install b/extra/kshutdown/kshutdown.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kshutdown/kshutdown.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |