mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:07:15 +08:00
34 lines
779 B
Bash
34 lines
779 B
Bash
# Contributions from Arch:
|
|
# Contributor : Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=libdbusmenu-qt5
|
|
pkgver=0.9.3+16.04.20160218
|
|
pkgrel=1
|
|
pkgdesc='A library that provides a Qt implementation of the DBusMenu spec'
|
|
arch=('x86_64')
|
|
url="https://launchpad.net/libdbusmenu-qt"
|
|
license=('GPL')
|
|
depends=('qt5-base')
|
|
makedepends=('cmake' 'doxygen')
|
|
source=("http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu-qt/libdbusmenu-qt_${pkgver}.orig.tar.gz")
|
|
md5sums=('8b90312bd8654e026d814d4db986ce5e')
|
|
options=(debug)
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../libdbusmenu-qt-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|