core/kwayland/PKGBUILD

32 lines
617 B
Bash
Raw Normal View History

2014-10-23 03:29:25 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=kwayland
pkgver=${PVersion}
pkgrel=1
pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
arch=('x86_64')
url='http://www.kde.org'
license=('LGPL')
2014-12-01 13:27:04 +08:00
depends=("qt5-base>=${PQtVersion}" 'wayland')
2014-10-23 03:29:25 +08:00
makedepends=('extra-cmake-modules')
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
2014-12-01 13:27:04 +08:00
options=('debug')
2014-10-23 03:29:25 +08:00
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../$pkgname-${pkgver}
2014-10-23 03:29:25 +08:00
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
2014-12-01 13:27:04 +08:00
}