2013-12-18 02:36:04 +08:00
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
|
|
|
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
2010-07-09 04:29:54 +08:00
|
|
|
|
|
|
|
pkgname=dbusmenu-qt-git
|
2010-10-20 01:18:47 +08:00
|
|
|
pkgver=20101019
|
2010-07-09 04:29:54 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A standalone library providing a way to import and export QMenu instances using the DBusMenu protocol."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL')
|
|
|
|
depends=('qt' 'qjson')
|
|
|
|
makedepends=('git' 'cmake')
|
|
|
|
url="http://gitorious.org/dbusmenu/"
|
|
|
|
conflicts=('dbusmenu-qt')
|
|
|
|
provides=('dbusmenu-qt')
|
2010-10-20 01:18:47 +08:00
|
|
|
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
|
|
md5sums=(a4fa14066609b87935800f7a0d5077f4)
|
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
2010-07-09 04:29:54 +08:00
|
|
|
|
2010-10-20 01:18:47 +08:00
|
|
|
mksource() {
|
|
|
|
git clone git://gitorious.org/dbusmenu/dbusmenu-qt.git
|
|
|
|
pushd dbusmenu-qt
|
|
|
|
popd
|
|
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz dbusmenu-qt/*
|
|
|
|
md5sum ${pkgname}-${pkgver}.tar.xz
|
|
|
|
}
|
2010-07-09 04:29:54 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir
|
2010-10-20 01:18:47 +08:00
|
|
|
|
2010-11-09 16:14:53 +08:00
|
|
|
mkdir -p $srcdir/dbusmenu-qt-build
|
2010-07-09 04:29:54 +08:00
|
|
|
|
2010-10-20 01:18:47 +08:00
|
|
|
cd $srcdir/dbusmenu-qt-build
|
2010-07-09 04:29:54 +08:00
|
|
|
|
2013-08-05 13:18:41 +08:00
|
|
|
cmake ${srcdir}/dbusmenu-qt -DCMAKE_BUILD_TYPE=Release \
|
2010-07-09 04:29:54 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2014-01-13 00:57:44 +08:00
|
|
|
make
|
|
|
|
make DESTDIR=$pkgdir install
|
2010-07-09 04:29:54 +08:00
|
|
|
|
2010-10-20 01:18:47 +08:00
|
|
|
rm -rf $srcdir/dbusmenu-qt-build
|
2010-07-09 04:29:54 +08:00
|
|
|
}
|