summaryrefslogtreecommitdiff
path: root/extra/basket/PKGBUILD
blob: 8887cd7ca97f5d17b9b0552e4da78ab5d5877a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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' 'mips64el')
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
}