Date: Tuesday, October 2, 2018 @ 16:39:04 Author: arojas Revision: 389016
Update to 1.9, add epoch due to upstream versioning fuckup Modified: qtcurve/trunk/PKGBUILD ----------+ PKGBUILD | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-10-02 15:36:02 UTC (rev 389015) +++ PKGBUILD 2018-10-02 16:39:04 UTC (rev 389016) @@ -1,4 +1,5 @@ -# Maintainer : speps <speps at aur dot archlinux dot org> +# Maintainer: Antonio Rojas <[email protected]> +# Contributor: speps <speps at aur dot archlinux dot org> # Contributor: Sven-Hendrik Haase <[email protected]> # Contributor: Andrea Scarpino <[email protected]> # Contributor: Pierre Schmitz <[email protected]> @@ -5,9 +6,9 @@ pkgbase=qtcurve pkgname=(qtcurve-utils qtcurve-gtk2 qtcurve-qt4 qtcurve-qt5 qtcurve-kde) -pkgver=1.9.1.git20170710 -pkgrel=2 -_commit=b4d175d57a3689cb488b57d8fef3707e4fb0f150 +epoch=1 +pkgver=1.9 +pkgrel=1 pkgdesc='A configurable set of widget styles for KDE and Gtk' arch=(x86_64) url='https://github.com/KDE/qtcurve/' @@ -14,9 +15,10 @@ license=(LGPL) groups=(qtcurve) makedepends=(extra-cmake-modules gtk2 qt4 kdelibs4support kdoctools frameworkintegration kdesignerplugin git) -#source=("$pkgbase-$pkgver.tar.gz::https://github.com/KDE/qtcurve/archive/$pkgver.tar.gz") -source=("git://git.kde.org/qtcurve.git#commit=$_commit") -sha256sums=('SKIP') +source=(https://download.kde.org/stable/$pkgbase/$pkgbase-$pkgver.tar.xz{,.sig}) +sha256sums=('281f5e3d13b0c1c0aeea6f5c7e895aedcb8f4ce91bdbd12d068d3616bc6d2f99' + 'SKIP') +validpgpkeys=(D88390B2991F8242FABD2A3C07F45E2A1937DD32) # Yichao Yu <[email protected]> prepare() { mkdir -p build{,-kde} @@ -24,19 +26,17 @@ build() { cd build - cmake ../$pkgbase \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DQTC_QT4_ENABLE_KDE=false \ - -DQTC_QT5_ENABLE_KDE=false + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQTC_QT4_ENABLE_KDE=false \ + -DQTC_QT5_ENABLE_KDE=false make cd ../build-kde - cmake ../$pkgbase \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_QT4=false \ - -DENABLE_GTK2=false + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_QT4=false \ + -DENABLE_GTK2=false make } @@ -45,6 +45,10 @@ depends=(libx11 gcc-libs) cd build/lib/utils make DESTDIR="$pkgdir" install + +# Install translations + mkdir "$pkgdir"/usr/share + cp -r ../../locale "$pkgdir"/usr/share } package_qtcurve-gtk2() {
