gtk/oxygen-gtk2/PKGBUILD
2014-02-06 21:51:01 +00:00

32 lines
809 B
Bash

pkgname=oxygen-gtk2
pkgver=1.4.3
pkgrel=1
pkgdesc="The Oxygen engine for GTK2, for better Qt/GKT+ integration."
arch=('x86_64')
url=("https://projects.kde.org/projects/playground/artwork/oxygen-gtk")
license=('LGPL3' 'GPL')
depends=('cairo')
makedepends=('gcc' 'cmake' 'gtk2')
provides=('oxygen-gtk')
conflicts=('oxygen-gtk')
categories=('system')
groups=('gtk-integration')
install=install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('822cedb3ae46907fd262487150a195d4')
build() {
cd $srcdir/$pkgname-$pkgver
rm -rf build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR="${pkgdir}" install
}