mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
37 lines
1001 B
Bash
37 lines
1001 B
Bash
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
# Contributor Martin Lee < hellnest.fuah@gmail.com >
|
|
|
|
pkgname=appmenu-qt
|
|
appname=appmenu-qt
|
|
pkgbranch=trunk
|
|
pkgver=0.2.6
|
|
pkgrel=2
|
|
pkgdesc="Application menu module for Qt"
|
|
arch=('x86_64')
|
|
url="https://launchpad.net/appmenu-qt"
|
|
license=('GPL')
|
|
depends=('libdbusmenu-qt')
|
|
makedepends=('cmake' 'automoc4')
|
|
provides=('appmenu-qt')
|
|
conflicts=('appmenu-qt-bzr')
|
|
source=("http://launchpad.net/${appname}/${pkgbranch}/${pkgver}/+download/${appname}-${pkgver}.tar.bz2"
|
|
'appmenu.diff')
|
|
md5sums=('90cce750e5412d43ce075b0a9bdb6782'
|
|
'8aa185359143d5f0d6a00888694f559d')
|
|
|
|
build() {
|
|
cd "${srcdir}/${appname}-${pkgver}"
|
|
# bug https://bugs.launchpad.net/appmenu-qt/+bug/1096008
|
|
patch -p0 -i "${srcdir}"/appmenu.diff
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${appname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|