diff options
Diffstat (limited to 'community/kshutdown/PKGBUILD')
-rw-r--r-- | community/kshutdown/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/kshutdown/PKGBUILD b/community/kshutdown/PKGBUILD new file mode 100644 index 000000000..9803fb1f2 --- /dev/null +++ b/community/kshutdown/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 83158 2013-01-27 16:19:25Z pierre $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=kshutdown +pkgver=3.0beta5 +pkgrel=1 +pkgdesc="Shutdown Utility for KDE" +arch=('i686' 'x86_64') +url="http://kshutdown.sourceforge.net/" +license=('GPL') +depends=('kdebase-workspace') +makedepends=('cmake' 'automoc4') +install='kshutdown.install' +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.zip") +sha1sums=('108e27a7d1cef505c296656f92ab071d8c53bce3') + +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 +} |