mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
701 B
Bash
33 lines
701 B
Bash
#contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libmm-qt5/
|
|
source ../plasma.conf
|
|
|
|
pkgname=libmm-qt5
|
|
_pkgname=libmm-qt
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="Qt5 wrapper for ModemManager DBus API"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/extragear/libs/libmm-qt'
|
|
license=('LGPL')
|
|
depends=('qt5-base' 'modemmanager')
|
|
makedepends=('extra-cmake-modules')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname} | head -n1) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|