desktop/support-pkg-libdbusmenu-qt/PKGBUILD
2014-12-16 17:47:57 +00:00

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
}