[arch-commits] Commit in spectacle/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 21 10:04:42 UTC 2020
Date: Saturday, March 21, 2020 @ 10:04:41
Author: arojas
Revision: 378180
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
spectacle/repos/kde-unstable-x86_64/
spectacle/repos/kde-unstable-x86_64/PKGBUILD
(from rev 378179, spectacle/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: spectacle/repos/kde-unstable-x86_64/PKGBUILD (from rev 378179, spectacle/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2020-03-21 10:04:41 UTC (rev 378180)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=20.03.80
+pkgrel=1
+pkgdesc="KDE screenshot capture utility"
+arch=(x86_64)
+url='https://kde.org/applications/utilities/org.kde.spectacle'
+license=(GPL)
+depends=(xcb-util-cursor libkipi purpose knewstuff kwayland qt5-tools)
+makedepends=(extra-cmake-modules kdoctools)
+optdepends=('kipi-plugins: export to various online services')
+groups=(kde-applications kdegraphics)
+source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+ spectacle-qt5.15.patch::"https://cgit.kde.org/spectacle.git/patch/?id=773d569d")
+sha256sums=('d35f950ad87ff9920d2677ee8af47c462c4155a589fad3283d42bcf73dcb7f6f'
+ 'SKIP'
+ '2cf63536b7e2d24dbf019c41a5f22fa44ae70386316ea9f190649c43ee9871ce')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../spectacle-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
More information about the arch-commits
mailing list