summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 430001131b9fa47039a8073c08d08d9c87fabbfc (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
# Maintainer: FadeMind <fademind@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=declarative-plasmoids
pkgver=4.10.5
pkgrel=1
pkgdesc="A set of plasmoids (QML) for Plasma Active"
arch=('any')
url='http://plasma-active.org/'
license=('LGPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
groups=('plasma-active')
install=${pkgname}.install
source=("http://download.kde.org/stable/active/4.0/src/${pkgname}-${pkgver}.tar.xz")
sha256sums=('b5cbb735b5537c210258ad6f68883c848b7c95bcb4b90eb479284697847cfb8d')

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

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