summaryrefslogtreecommitdiff
path: root/extra/baloo-widgets/PKGBUILD
blob: f6dd2edd52f8b7017e730cd9a8682c795e8cd6f3 (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
# $Id: PKGBUILD 213157 2014-05-19 15:00:47Z svenstaro $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=baloo-widgets
pkgver=4.13.1
pkgrel=1
pkgdesc="Widgets for Baloo"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/kdelibs/baloo-widgets'
license=('LGPL')
depends=('baloo')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('0ee2aab1cead78a696da4b2afc8e61a2c219c855')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}