aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/gtk-qt-engine/APKBUILD
blob: b118cc6a65679751b7d5c5944d0282ece63cd4c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                                         
                 

             
                                        

                                         
                           



























                                                                               
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=gtk-qt-engine
pkgver=1.1
pkgrel=0
pkgdesc="GTK QT engine"
url="http://gtk-qt-engine.googlecode.com/"
arch="x86 x86_64"
license="GPL"
depends=
depends_dev="kde-workspace-dev gtk+-dev"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages="$pkgname-lang"
source="http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-$pkgver.tar.bz2
	stdlib.patch"
install_if="kdebase-workspace"

_builddir="$srcdir"/gtk-qt-engine
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON . || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="de8048baef7dfe6c97cd97c463d66152  gtk-qt-engine-1.1.tar.bz2
1658c0431dd13bef9c3f72183815c6f3  stdlib.patch"