desktop/qtcurve/PKGBUILD

50 lines
1.2 KiB
Bash
Raw Normal View History

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/qtcurve
pkgbase=qtcurve
pkgname=('qtcurve-utils' 'qtcurve-kde4') #'qtcurve-gtk2' )
pkgver=1.8.17
2012-12-28 03:47:24 +08:00
pkgrel=1
arch=('x86_64')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE' #and gtk2
url='https://github.com/QtCurve/qtcurve'
2012-03-27 08:04:47 +08:00
depends=('kde-workspace')
makedepends=('cmake' 'automoc4' 'qt' 'kde-workspace') #'gtk2')
categories=('system')
source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
md5sums=('c4f2e9bc296398b42bfc132b88a3b989')
build() {
cd $pkgbase-$pkgver
2012-12-28 03:47:24 +08:00
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_GTK2=false \
-DENABLE_QT5=false
2011-10-24 16:31:32 +08:00
make
}
package_qtcurve-utils() {
depends=('libx11')
cd $pkgbase-$pkgver/build/qtcurve-utils
make DESTDIR="$pkgdir" install
}
package_qtcurve-kde4() {
depends=('qtcurve-utils' 'kde-workspace')
provides=qtcurve
replaces=qtcurve
conflicts=qtcurve
cd $pkgbase-$pkgver/build/qt4
make DESTDIR="$pkgdir" install
cd ../po
make DESTDIR="$pkgdir" install
}
2011-10-24 16:31:32 +08:00