mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 01:42:13 +08:00
32 lines
766 B
Bash
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
|
|
}
|