kio: initial import

This commit is contained in:
Fabian 2014-01-18 17:06:24 +00:00
parent ca0e38bb0a
commit e5902b9e6b

46
kio/PKGBUILD Normal file
View File

@ -0,0 +1,46 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kio
pkgver=${KFVersion}
pkgrel=1
pkgdesc='KIO'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kio'
license=('LGPL')
depends=('krb5' 'solid' 'knotifications' 'kjobwidgets' 'kbookmarks'
'qt5-script' 'libxslt')
makedepends=('extra-cmake-modules' 'kdoctools')
groups=('kf5')
install=kio.install
options=("debug")
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('53bc1e6425b5bde56aa89b2b2ced9ba3')
prepare() {
mkdir -p build
}
build() {
# export XDG_DATA_DIRS="/opt/kf5/share:$XDG_DATA_DIRS"
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc
make
}
check(){
cd build
msg "currently fails; needs gui?"
make test | return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}