summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2019-04-28 21:47:14 +0000
committerAntonio Rojas2019-04-28 21:47:14 +0000
commit17596a2ef129a124e4b4093725a3450d8d4b5cb6 (patch)
tree582edfde1279ba7b42d3eb96adeef5f397e1e4f0
downloadaur-17596a2ef129a124e4b4093725a3450d8d4b5cb6.tar.gz
Dropped from community
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD33
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ff682f34c03
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = appmenu-qt4
+ pkgdesc = Export Qt4 applications menus over D-Bus
+ pkgver = 0.2.6
+ pkgrel = 2
+ url = https://launchpad.net/appmenu-qt
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ depends = libdbusmenu-qt4
+ conflicts = appmenu-qt
+ replaces = appmenu-qt
+ source = https://launchpad.net/appmenu-qt/trunk/0.2.6/+download/appmenu-qt-0.2.6.tar.bz2
+ sha256sums = 21dd0357edeef1b20a5b56c91f1f423fdef65c81d082a22d8fe5761810927ddb
+
+pkgname = appmenu-qt4
+
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
+}