summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Rojas2019-04-28 21:47:14 +0000
committerAntonio Rojas2019-04-28 21:47:14 +0000
commit17596a2ef129a124e4b4093725a3450d8d4b5cb6 (patch)
tree582edfde1279ba7b42d3eb96adeef5f397e1e4f0 /PKGBUILD
downloadaur-17596a2ef129a124e4b4093725a3450d8d4b5cb6.tar.gz
Dropped from community
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1058af83f99
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}