desktop/support-pkg-dbusmenu-qt-git/PKGBUILD
totte 961cfc61e8 Merge branch 'unstable' into testing
Conflicts:
	apper/PKGBUILD
	avogadro/PKGBUILD
	calligra-l10n/PKGBUILD
	calligra/PKGBUILD
	digikam/PKGBUILD
	freerdp/PKGBUILD
	kapudan/PKGBUILD
	kde-baseapps-konsole/PKGBUILD
	kde-gtk-config/PKGBUILD
	kde-l10n/PKGBUILD
	kde-plasma-themes/PKGBUILD
	kde-runtime/PKGBUILD
	kde-sc.md5
	kde-workspace/PKGBUILD
	kdeedu-kalzium/PKGBUILD
	kdegames-kigo/PKGBUILD
	kdegames-libkdegames/PKGBUILD
	kdemultimedia-thumbnailers/PKGBUILD
	kdenetwork-kopete/PKGBUILD
	kdenetwork-kopete/kdenetwork.install
	kdepimlibs/PKGBUILD
	kdeplasma-applets-networkmanagement/PKGBUILD
	kdeplasma-applets-plasma-nm/PKGBUILD
	kdeutils-ark/PKGBUILD
	kdewebdev/PKGBUILD
	kscreen/PKGBUILD
	libkscreen/PKGBUILD
	libxklavier/PKGBUILD
	nepomuk-core/PKGBUILD
	partitionmanager/PKGBUILD
	support-pkg-meanwhile/PKGBUILD
	system-config-printer/PKGBUILD
	tools-pkg-akabeiclient/PKGBUILD
	tools-pkg-akabeicore/PKGBUILD
	tribe-partitionmanager/PKGBUILD
	tribe/PKGBUILD
	xscreensaver/PKGBUILD
2014-03-10 12:40:09 +01:00

45 lines
1.1 KiB
Bash

# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
pkgname=dbusmenu-qt-git
pkgver=20101019
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')
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
md5sums=(a4fa14066609b87935800f7a0d5077f4)
# create tarball: source PKGBUILD && mksource
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
}
build() {
cd $srcdir
mkdir -p $srcdir/dbusmenu-qt-build
cd $srcdir/dbusmenu-qt-build
cmake ${srcdir}/dbusmenu-qt -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$pkgdir install
rm -rf $srcdir/dbusmenu-qt-build
}