desktop/libkactivities4/PKGBUILD

41 lines
898 B
Bash
Raw Normal View History

2015-12-18 08:10:40 +08:00
pkgname='libkactivities4'
pkgver=4.13.3 # there is no 4.14 version!
2016-05-18 02:49:06 +08:00
pkgrel=7
arch=('x86_64')
pkgdesc='API for using and interacting with Activities'
url='http://kde.org/'
license=('GPL'
'FDL')
depends=("kdelibs>=${_kdever}")
makedepends=('cmake'
'automoc4')
2016-05-18 02:49:06 +08:00
provides=('kactivities')
replaces=('kactivities<=4.13.3-3')
conflicts=('kactivities<=4.13.3-3')
2015-12-18 08:10:40 +08:00
options=('debug')
2016-05-18 02:49:06 +08:00
source=(http://download.kde.org/Attic/${pkgver}/src/kactivities-$pkgver.tar.xz)
sha256sums=("c7cb9d023f6e5cd01d76568c3590303ea3ecb4ebe9535b31862957846f5e898a")
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../kactivities-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_NepomukCore=OFF
make
}
2016-05-18 02:49:06 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
# Fix conflicts
rm "${pkgdir}"/usr/bin/kactivitymanagerd
rmdir "${pkgdir}"/usr/bin
}