mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 02:57:15 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
|
|
# Include global configuration
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname="kactivities"
|
|
pkgver=4.13.3 # there is no 4.14 version!
|
|
pkgrel=2
|
|
arch=('x86_64')
|
|
pkgdesc='API for using and interacting with Activities'
|
|
url='http://kde.org/'
|
|
license=('GPL'
|
|
'FDL')
|
|
depends=("kdelibs>=${_kdever}"
|
|
"baloo>=${_kdever}"
|
|
"soprano")
|
|
makedepends=('cmake'
|
|
'automoc4')
|
|
options=('docs'
|
|
'!header'
|
|
'debug'
|
|
'log')
|
|
source=($_mirror/${pkgname}-$pkgver.tar.xz)
|
|
#sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
|
sha256sums=("c7cb9d023f6e5cd01d76568c3590303ea3ecb4ebe9535b31862957846f5e898a")
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
rm -rf build
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|