mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 02:54:36 +08:00
kglobalaccel: initial import
This commit is contained in:
parent
8d2d72ef32
commit
5283654857
41
kglobalaccel/PKGBUILD
Normal file
41
kglobalaccel/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Contributor : Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
source ../frameworks.conf
|
||||
|
||||
pkgname=kglobalaccel
|
||||
pkgver=${KFVersion}
|
||||
pkgrel=1
|
||||
pkgdesc='KGlobalAccel'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://projects.kde.org/projects/frameworks/kglobalaccel'
|
||||
license=('LGPL')
|
||||
depends=('qt5-x11extras')
|
||||
makedepends=('extra-cmake-modules')
|
||||
options=('debug')
|
||||
groups=('kf5')
|
||||
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('1b8b6b456bebda36c71f19f660d4f1bb')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
||||
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
||||
-DLIB_INSTALL_DIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
msg "tests currently fail, require GUI"
|
||||
make test || return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user