mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
kactivities: Formatting
This commit is contained in:
parent
5f2bea8d28
commit
231b1260c6
@ -1,7 +1,5 @@
|
||||
|
||||
|
||||
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
||||
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
@ -12,30 +10,31 @@ pkgrel=1
|
||||
arch=('x86_64')
|
||||
pkgdesc='API for using and interacting with Activities'
|
||||
url='http://kde.org/'
|
||||
license=('GPL' 'FDL')
|
||||
depends=("kdelibs>=${_kdever}" "nepomuk-core>=${_kdever}" "soprano")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
|
||||
license=('GPL'
|
||||
'FDL')
|
||||
depends=("kdelibs>=${_kdever}"
|
||||
"nepomuk-core>=${_kdever}"
|
||||
"soprano")
|
||||
makedepends=('cmake'
|
||||
'automoc4')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
||||
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
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
|
||||
|
||||
cd $srcdir/$pkgname-$pkgver/build
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user