mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:24:37 +08:00
libdbusmenu-qt5: initial import
This commit is contained in:
parent
2228254113
commit
2174508f5f
37
libdbusmenu-qt5/PKGBUILD
Normal file
37
libdbusmenu-qt5/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributor : Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
source ../frameworks.conf
|
||||
|
||||
pkgname=libdbusmenu-qt5
|
||||
pkgver=0.9.2+14.04.20131209
|
||||
pkgrel=1
|
||||
pkgdesc="A library that provides a Qt implementation of the DBusMenu spec"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://launchpad.net/libdbusmenu-qt"
|
||||
license=('GPL')
|
||||
depends=('qt5-base')
|
||||
makedepends=('cmake')
|
||||
source=("http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu-qt/libdbusmenu-qt_${pkgver}.orig.tar.gz")
|
||||
md5sums=('8ae0ed6873fdc0ac24e78772994c9522')
|
||||
options=(strip debug)
|
||||
|
||||
prepare() {
|
||||
cd libdbusmenu-qt-${pkgver}
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd libdbusmenu-qt-${pkgver}/build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
||||
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
||||
-DUSE_QT5=On \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DWITH_DOC=Off
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd libdbusmenu-qt-${pkgver}/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user