gtk/oxygen-gtk2/PKGBUILD

32 lines
809 B
Bash

pkgname=oxygen-gtk2
pkgver=1.4.0
pkgrel=2
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=('ccc9e468a5ea04159ca2040ee3f434e1')
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
}