desktop/libmm-qt5/PKGBUILD

33 lines
701 B
Bash
Raw Normal View History

#contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libmm-qt5/
2014-07-11 01:02:30 +08:00
source ../plasma.conf
2014-07-11 01:05:08 +08:00
pkgname=libmm-qt5
_pkgname=libmm-qt
2014-10-23 03:29:25 +08:00
pkgver=${PVersion}
2014-07-11 01:02:30 +08:00
pkgrel=1
pkgdesc="Qt5 wrapper for ModemManager DBus API"
2014-08-18 05:07:09 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/extragear/libs/libmm-qt'
2014-07-11 01:02:30 +08:00
license=('LGPL')
depends=('qt5-base' 'modemmanager')
makedepends=('extra-cmake-modules')
2014-07-11 01:02:30 +08:00
groups=('plasma')
options=("debug")
2014-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
2014-07-11 01:02:30 +08:00
sha256sums=( $(getSum ${_pkgname} | head -n1) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
2014-07-11 01:02:30 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}