summaryrefslogtreecommitdiff
path: root/extra/basket/PKGBUILD
blob: f8f652191b6ec3806071324e08a5c0cc0f62489a (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 149623 2012-02-08 20:36:29Z pierre $
# 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=2
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
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$startdir/pkg install
}