gtk/oxygen-gtk2/PKGBUILD

32 lines
834 B
Bash
Raw Normal View History

2013-05-01 04:04:48 +08:00
pkgname=oxygen-gtk2
pkgver=1.3.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')
2013-05-01 05:19:56 +08:00
makedepends=('gcc' 'cmake' 'gtk2' 'filesystem-extra')
2013-05-01 04:04:48 +08:00
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=('37b24d69d386eca5b4382424002ed762')
build() {
cd $srcdir/$pkgname-$pkgver
rm -rf build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/extra/usr ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR="${pkgdir}" install
}