mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
35 lines
833 B
Bash
35 lines
833 B
Bash
|
|
|
|
|
|
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
|
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
|
|
|
pkgname=libdbusmenu-qt
|
|
pkgver=0.9.0
|
|
pkgrel=2
|
|
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=('qt')
|
|
replaces=('dbusmenu-qt-git')
|
|
conflict=('dbusmenu-qt-git')
|
|
makedepends=('cmake')
|
|
source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('cc6b7b551377e2a07f6fa5afef0d29ff')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DWITH_DOC=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
} |