gtk/qtcurve-gtk2/PKGBUILD
2013-11-18 23:27:52 +01:00

32 lines
766 B
Bash

pkgbase=qtcurve
pkgname=('qtcurve-gtk2')
pkgver=1.8.17
pkgrel=2
pkgdesc='A configurable set of widget styles for KDE and Gtk'
arch=('x86_64')
url='https://github.com/QtCurve/qtcurve'
license=('GPL')
groups=('qtcurve')
depends=('qtcurve-utils' 'gtk2')
makedepends=('cmake' 'automoc4' 'qt' 'xcb-util-image')
source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
md5sums=('c4f2e9bc296398b42bfc132b88a3b989')
build() {
cd $pkgbase-$pkgver
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQTC_QT4_ENABLE_KDE=false \
-DENABLE_QT5=false \
-DENABLE_GTK2=true
make
}
package_qtcurve-gtk2() {
cd $pkgbase-$pkgver/build/gtk2
make DESTDIR="$pkgdir" install
}