[arch-commits] Commit in (knights knights/repos knights/trunk knights/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 16 07:46:24 UTC 2018
Date: Friday, November 16, 2018 @ 07:46:23
Author: arojas
Revision: 339761
community2extra: Moving knights from community to extra
Added:
knights/
knights/repos/
knights/trunk/
knights/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: knights/trunk/PKGBUILD
===================================================================
--- knights/trunk/PKGBUILD (rev 0)
+++ knights/trunk/PKGBUILD 2018-11-16 07:46:23 UTC (rev 339761)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0+160+g4d1d989
+pkgrel=1
+pkgdesc="Chess board by KDE with XBoard protocol support"
+arch=(x86_64)
+url="https://www.kde.org/applications/games/knights/"
+license=(GPL)
+depends=(libkdegames kplotting plasma-framework hicolor-icon-theme)
+optdepends=('gnuchess: for playing against the computer')
+makedepends=(extra-cmake-modules kdoctools git)
+_commit=4d1d989114a054cc05d7015870865e69aba08ef8 # master
+source=("git://git.kde.org/knights.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed -e 's/-/+/g' -e 's/v//'
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Property changes on: knights/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list