mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 15:27:22 +08:00
34 lines
800 B
Bash
34 lines
800 B
Bash
pkgbase=qtcurve
|
|
pkgname=('qtcurve-gtk2')
|
|
pkgver=1.8.18
|
|
pkgrel=2
|
|
pkgdesc='A configurable set of widget styles for KDE and Gtk'
|
|
arch=('x86_64')
|
|
url='https://github.com/QtCurve/qtcurve'
|
|
license=('LGPL')
|
|
groups=('qtcurve')
|
|
depends=('qtcurve-utils' 'gtk2')
|
|
makedepends=('cmake' 'automoc4' 'qt')
|
|
source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
|
md5sums=('422d1876d944bb278855f320eda19368')
|
|
|
|
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
|
|
cd ../lib/cairo
|
|
make DESTDIR="$pkgdir" install
|
|
}
|