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

pkgname=kdeclarative
pkgver=${KFVersion}
AlmAck's avatar
AlmAck committed
6
pkgrel=2
Xuetian Weng's avatar
Xuetian Weng committed
7 8 9 10
pkgdesc='Provides integration of QML and KDE Frameworks'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdeclarative'
license=('LGPL')
11
depends=('kio' 'libepoxy' 'kpackage')
Xuetian Weng's avatar
Xuetian Weng committed
12
makedepends=("extra-cmake-modules>=${KFECMVersion}")
Xuetian Weng's avatar
Xuetian Weng committed
13 14
groups=('kf5')
options=("debug")
AlmAck's avatar
AlmAck committed
15 16 17
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
                        SKIP)
AlmAck's avatar
AlmAck committed
18
validpgpkeys=( ${KFvalidpgpkeys[@]} )
Xuetian Weng's avatar
Xuetian Weng committed
19 20 21 22 23 24 25

prepare() {
  mkdir -p build
}

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

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}