updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / appmenu-qt / PKGBUILD
blobd56fe1fcc4a543ede2edb4878b7787002b46eff6
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=appmenu-qt
4 pkgver=0.2.4
5 pkgrel=3
6 pkgdesc="Add support for application menu to Qt"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/appmenu-qt"
9 license=('GPL')
10 depends=('libdbusmenu-qt')
11 makedepends=('cmake')
12 source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
13 md5sums=('5266d3e77e424bce19f4bcd8f4ffd4bf')
15 build() {
16   cd "${srcdir}"
17   mkdir build
18   cd build
19   cmake ../${pkgname}-${pkgver} \
20     -DCMAKE_INSTALL_PREFIX=/usr \
21     -DCMAKE_BUILD_TYPE="Release"
22   make
25 package() {
26   cd "${srcdir}"/build
27   make DESTDIR="${pkgdir}" install