From 6a642c093f29814cdd0fdefeee3ab9400eae490f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Nov 2011 23:14:55 +0000 Subject: Fri Nov 25 23:14:55 UTC 2011 --- kde-unstable/kactivities/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 kde-unstable/kactivities/PKGBUILD (limited to 'kde-unstable/kactivities/PKGBUILD') diff --git a/kde-unstable/kactivities/PKGBUILD b/kde-unstable/kactivities/PKGBUILD new file mode 100644 index 000000000..e60a143e9 --- /dev/null +++ b/kde-unstable/kactivities/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 143306 2011-11-24 16:13:52Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kactivities +pkgver=4.7.80 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc='API for using and interacting with Activities' +url='http://kde.org/' +license=('GPL' 'FDL') +depends=('kdelibs') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'fix-activities.patch') +sha1sums=('c619c5d6e3e2ef79d0cebf52bf18d1b467dc24f9' + '6eb890958726856cf4ddb172acd46ba08f7a5088') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/fix-activities.patch + + 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 +} -- cgit v1.2.3-54-g00ecf