From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/yakuake/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ extra/yakuake/yakuake.install | 11 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 extra/yakuake/PKGBUILD create mode 100644 extra/yakuake/yakuake.install (limited to 'extra/yakuake') diff --git a/extra/yakuake/PKGBUILD b/extra/yakuake/PKGBUILD new file mode 100644 index 000000000..6fe44c6cb --- /dev/null +++ b/extra/yakuake/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 107962 2011-01-28 08:00:39Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: James Rayner +# Contributor: leeghoofd + +pkgname=yakuake +pkgver=2.9.8 +pkgrel=1 +pkgdesc="A KDE konsole application with the look and feel of that in the Quake engine" +arch=('i686' 'x86_64') +url="http://yakuake.kde.org" +license=('GPL') +depends=('kdebase-konsole') +makedepends=('cmake' 'automoc4') +install="${pkgname}.install" +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +md5sums=('a53ae52fc530912b74155a586d92a1fe') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} diff --git a/extra/yakuake/yakuake.install b/extra/yakuake/yakuake.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/extra/yakuake/yakuake.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf