diff options
Diffstat (limited to 'extra/basket')
-rw-r--r-- | extra/basket/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/basket/basket.install | 12 |
2 files changed, 44 insertions, 0 deletions
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 <ronald.archlinux.org> +# Contributor: James Rayner <james@archlinux.org> +# Contributor: lucke <lucke at o2 dot pl> + +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 +} + |