[arch-commits] Commit in libkdegames/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 21 09:38:57 UTC 2020
Date: Saturday, March 21, 2020 @ 09:38:56
Author: arojas
Revision: 378050
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
libkdegames/repos/kde-unstable-x86_64/
libkdegames/repos/kde-unstable-x86_64/PKGBUILD
(from rev 378049, libkdegames/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libkdegames/repos/kde-unstable-x86_64/PKGBUILD (from rev 378049, libkdegames/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2020-03-21 09:38:56 UTC (rev 378050)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdegames
+pkgver=20.03.80
+pkgrel=1
+pkgdesc="Common code and data for many KDE games"
+url="https://www.kde.org/applications/games/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+depends=(kdeclarative kdnssd knewstuff)
+makedepends=(extra-cmake-modules)
+source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+ libkdegames-qt5.15.patch::"https://cgit.kde.org/libkdegames.git/patch?id=043d6a24")
+sha256sums=('1eb02f423eebbc2611f478cd0ea8378375906c45f425a42698bbaa356d2bef48'
+ 'SKIP'
+ '4668a7f325bcb8f43f3cc691a7900befded04f51324493056a85154f0b54c7cd')
+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 ../libkdegames-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