desktop/kio-extras/PKGBUILD

37 lines
1018 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kio-extras
source ../kdeapps.conf
2014-06-22 20:22:30 +08:00
pkgname=kio-extras
pkgver=${_kdever}
2016-05-13 04:57:22 +08:00
pkgrel=1
pkgdesc="Additional components to increase the functionality of KIO"
2014-10-23 03:29:25 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/kio-extras'
2014-06-22 20:22:30 +08:00
license=('LGPL')
depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient'
2016-03-29 03:54:44 +08:00
'exiv2' 'openexr' 'openslp' 'libmtp' 'kpty' 'kactivities')
2015-01-15 05:23:15 +08:00
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=('kde' 'kde-applications' 'kdenetwork')
2014-06-22 20:22:30 +08:00
options=("debug")
install=${pkgname}.install
conflicts=('kio-mtp-git')
replaces=('kio-mtp-git')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
2014-06-22 20:22:30 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-06-22 20:22:30 +08:00
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
2014-06-22 20:22:30 +08:00
}