desktop/oxygen-gtk2/PKGBUILD

36 lines
905 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=oxygen-gtk2
pkgver=1.3.2.1
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')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('cc33b2ac08f66d4b70f9c85303d44aad')
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
}