summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1058af83f99739537e3878efd52cc63d69ebcf35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Len Zhang <zyldragoon@gmail.com>

pkgname=appmenu-qt4
pkgver=0.2.6
pkgrel=2
pkgdesc="Export Qt4 applications menus over D-Bus"
arch=(x86_64)
url="https://launchpad.net/appmenu-qt"
license=(GPL)
depends=(libdbusmenu-qt4)
makedepends=(cmake)
conflicts=(appmenu-qt)
replaces=(appmenu-qt)
source=("https://launchpad.net/appmenu-qt/trunk/$pkgver/+download/appmenu-qt-$pkgver.tar.bz2")
sha256sums=('21dd0357edeef1b20a5b56c91f1f423fdef65c81d082a22d8fe5761810927ddb')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../appmenu-qt-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE="Release"
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}