katana/packaging/archlinux/katana-baseapps/PKGBUILD
Ivailo Monev 6d354047dd packaging: update to reflect recent changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 05:21:37 +02:00

60 lines
1.5 KiB
Bash

# $Id$
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=katana-baseapps
pkgver=4.18.0.3568687
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('katana')
pkgdesc='Katana core applications'
optdepends=('katana-extraapps: thumbnailers for development, audio, video and other common files'
'icoutils: thumbnailers for MS files'
'ruby: servicemenu installation')
url="http://fluxer.github.io/katana/"
install="$pkgname.install"
depends=("katanalibs>=4.16.0" 'qjson')
makedepends=('cmake' 'git' 'tidyhtml') # TODO: pykde4
source=("git+https://github.com/fluxer/kde-baseapps.git")
sha1sums=('SKIP')
conflicts=('kdebase-dolphin'
'kdebase-kdepasswd'
'kdebase-kdialog'
'kdebase-keditbookmarks'
'kdebase-kfind'
'kdebase-konq-plugins'
'kdebase-konqueror'
'kdebase-lib'
'kdebase-plasma'
'kdebase-katepart'
'katepart4')
pkgver() {
cd kde-baseapps
printf "4.18.0.%s" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../kde-baseapps \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTING=OFF \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}