mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 15:17:13 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
37 lines
790 B
Bash
37 lines
790 B
Bash
# Include global configuration
|
|
source ../frameworks.conf
|
|
|
|
pkgname=prison
|
|
pkgver=$KFVersion
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
pkgdesc="A barcode api to produce QRCode barcodes and DataMatrix barcode"
|
|
url="https://projects.kde.org/projects/kdesupport/prison"
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
depends=('qt5-base' 'libdmtx' 'qrencode')
|
|
groups=('kf5')
|
|
options=("debug")
|
|
replaces=('prison-kf5')
|
|
provides=('prison-kf5')
|
|
conflicts=('prison-kf5')
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
SKIP)
|
|
validpgpkeys=( ${KFvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|