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/basket/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ extra/basket/basket.install | 12 ++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 extra/basket/PKGBUILD create mode 100644 extra/basket/basket.install (limited to 'extra/basket') diff --git a/extra/basket/PKGBUILD b/extra/basket/PKGBUILD new file mode 100644 index 000000000..0ad964ea1 --- /dev/null +++ b/extra/basket/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 94445 2010-10-07 10:25:17Z ronald $ +# Maintainer: Ronald van Haren +# Contributor: James Rayner +# Contributor: lucke + +pkgname=basket +pkgver=1.81 +pkgrel=1 +pkgdesc="All-purpose notes taker for KDE." +arch=('i686' 'x86_64') +url="http://basket.kde.org/" +depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme') +makedepends=('cmake' 'automoc4') +install=$pkgname.install +license=('GPL') +source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2) +md5sums=('cbb1bc5ca7c2ad1485c433c00a8f65a1') + +build() { + cd $srcdir/$pkgname-$pkgver + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$startdir/pkg install +} diff --git a/extra/basket/basket.install b/extra/basket/basket.install new file mode 100644 index 000000000..3e1f2f1f5 --- /dev/null +++ b/extra/basket/basket.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + -- cgit v1.2.3-54-g00ecf