2011-05-12 11:36:13 +08:00
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2013-01-15 03:52:38 +08:00
|
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
# Contributor Martin Lee < hellnest.fuah@gmail.com >
|
2011-05-12 11:36:13 +08:00
|
|
|
|
|
|
|
pkgname=appmenu-qt
|
|
|
|
appname=appmenu-qt
|
|
|
|
pkgbranch=trunk
|
2012-09-07 13:39:22 +08:00
|
|
|
pkgver=0.2.6
|
2013-01-15 03:52:38 +08:00
|
|
|
pkgrel=2
|
2011-05-12 11:36:13 +08:00
|
|
|
pkgdesc="Application menu module for Qt"
|
2013-01-15 03:52:38 +08:00
|
|
|
arch=('x86_64')
|
2011-05-12 11:36:13 +08:00
|
|
|
url="https://launchpad.net/appmenu-qt"
|
|
|
|
license=('GPL')
|
2012-03-30 07:11:40 +08:00
|
|
|
depends=('libdbusmenu-qt')
|
2011-05-12 11:36:13 +08:00
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
provides=('appmenu-qt')
|
|
|
|
conflicts=('appmenu-qt-bzr')
|
2013-01-15 03:52:38 +08:00
|
|
|
source=("http://launchpad.net/${appname}/${pkgbranch}/${pkgver}/+download/${appname}-${pkgver}.tar.bz2"
|
|
|
|
'appmenu.diff')
|
|
|
|
md5sums=('90cce750e5412d43ce075b0a9bdb6782'
|
|
|
|
'8aa185359143d5f0d6a00888694f559d')
|
2011-05-12 11:36:13 +08:00
|
|
|
|
2012-09-07 13:39:22 +08:00
|
|
|
build() {
|
2011-05-12 11:36:13 +08:00
|
|
|
cd "${srcdir}/${appname}-${pkgver}"
|
2013-01-15 03:52:38 +08:00
|
|
|
# bug https://bugs.launchpad.net/appmenu-qt/+bug/1096008
|
|
|
|
patch -p0 -i "${srcdir}"/appmenu.diff
|
|
|
|
|
2011-05-12 11:36:13 +08:00
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2012-09-07 13:39:22 +08:00
|
|
|
package() {
|
2011-05-12 11:36:13 +08:00
|
|
|
cd "${srcdir}/${appname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-09-07 13:39:22 +08:00
|
|
|
}
|