summaryrefslogtreecommitdiff
path: root/community/yakuake
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-14 03:52:55 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-14 03:52:55 +0000
commit7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (patch)
treea65448ff1236d65a3fea9015e7cd01e6483eb282 /community/yakuake
parent3d6877ee9ee7bba813a4b6be30a11d2b1942c656 (diff)
Mon Apr 14 03:47:31 UTC 2014
Diffstat (limited to 'community/yakuake')
-rw-r--r--community/yakuake/PKGBUILD31
-rw-r--r--community/yakuake/yakuake.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/community/yakuake/PKGBUILD b/community/yakuake/PKGBUILD
new file mode 100644
index 000000000..b4f776385
--- /dev/null
+++ b/community/yakuake/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 109331 2014-04-13 12:27:19Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: James Rayner <iphitus@gmail.com>
+# Contributor: leeghoofd <abcdefg@solcon.nl>
+
+pkgname=yakuake
+pkgver=2.9.9
+pkgrel=1
+pkgdesc="A drop-down terminal emulator based on KDE konsole technology"
+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.xz")
+md5sums=('ef97612710b28d62e43a58bed49cbead')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/yakuake/yakuake.install b/community/yakuake/yakuake.install
new file mode 100644
index 000000000..c0797237a
--- /dev/null
+++ b/community/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
+}