PKGBUILD 967 Bytes
Newer Older
1
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdelibs4support
Xuetian Weng's avatar
Xuetian Weng committed
2 3 4 5
source ../frameworks.conf

pkgname=kdelibs4support
pkgver=${KFVersion}
AlmAck's avatar
AlmAck committed
6
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
7 8 9 10
pkgdesc='Porting aid from KDELibs4'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdelibs4support'
license=('LGPL')
almack's avatar
almack committed
11
depends=('kunitconversion' 'kdesignerplugin' 'kinit' 'kitemmodels' 'kemoticons' 'kded')
AlmAck's avatar
AlmAck committed
12
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'kdoctools' 'qt5-tools' 'networkmanager' 'perl-uri')
Xuetian Weng's avatar
Xuetian Weng committed
13 14
groups=('kf5-aids')
options=("debug")
AlmAck's avatar
AlmAck committed
15 16 17 18
source=("${KFServer}/portingAids/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
                        SKIP)
validpgpkeys=( ${KFvalidpgpkeys} )
Xuetian Weng's avatar
Xuetian Weng committed
19 20 21 22 23 24 25

prepare() {
  mkdir -p build
}

build() {
  cd build
26 27
  cmake_kf5 ../${pkgname}-${pkgver} 
  make
Xuetian Weng's avatar
Xuetian Weng committed
28 29 30 31 32
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
AlmAck's avatar
AlmAck committed
33 34
  # conflicts with kio
  rm -r ${pkgdir}/usr/share/doc/HTML/*/kcontrol5
Xuetian Weng's avatar
Xuetian Weng committed
35
}