PKGBUILDs/aur/kactivities-git/PKGBUILD
2013-04-08 13:23:55 -04:00

30 lines
729 B
Bash

plugrel=1
noautobuild=1
pkgname=kactivities-git
pkgver=20111216
pkgrel=1
pkgdesc='API for using and interacting with Activities as a consumer, application adding information to them or as an activity manager.'
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('LGPL')
depends=('kdelibs')
makedepends=('cmake' 'git' 'automoc4')
#conflicts=('kactivities' 'kdebase-runtime')
#provides=('kactivities')
source=("kactivities::git://anongit.kde.org/kactivities")
md5sums=('SKIP')
_gitname="kactivities"
build() {
mkdir "$srcdir/build"
cd "$srcdir/build"
cmake "$srcdir/$_gitname" -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}