[arch-commits] Commit in knights/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Dec 20 19:16:33 UTC 2017
Date: Wednesday, December 20, 2017 @ 19:16:32
Author: arojas
Revision: 275063
archrelease: copy trunk to community-x86_64
Added:
knights/repos/community-x86_64/PKGBUILD
(from rev 275062, knights/trunk/PKGBUILD)
Deleted:
knights/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 39 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-20 19:15:57 UTC (rev 275062)
+++ PKGBUILD 2017-12-20 19:16:32 UTC (rev 275063)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=knights
-pkgver=2.5.0
-pkgrel=5
-pkgdesc="Chess board for KDE with XBoard protocol support"
-arch=(i686 x86_64)
-url="http://kde-apps.org/content/show.php/Knights?content=122046"
-license=(GPL)
-depends=(libkdegames4 kdebase-runtime)
-optdepends=('gnuchess: for playing against the computer')
-makedepends=(cmake automoc4)
-source=("https://dl.dropbox.com/u/2888238/Knights/$pkgname-$pkgver.tar.bz2")
-md5sums=('58237998aeee8b6414f6e6f92d070395')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: knights/repos/community-x86_64/PKGBUILD (from rev 275062, knights/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-20 19:16:32 UTC (rev 275063)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0+122+g62bd5d8
+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=62bd5d8320c62d6155f0798dc0cc54fc7550a3ef # 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
+}
More information about the arch-commits
mailing list