mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
834 B
Bash
36 lines
834 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.2
|
|
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=('qt')
|
|
replaces=('dbusmenu-qt-git')
|
|
conflict=('dbusmenu-qt-git')
|
|
makedepends=('cmake')
|
|
source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('9a49484927669cd2ec91b3bf9ba8b79e')
|
|
|
|
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
|
|
}
|