[arch-commits] Commit in knavalbattle/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Apr 20 16:35:47 UTC 2019


    Date: Saturday, April 20, 2019 @ 16:35:45
  Author: arojas
Revision: 351073

archrelease: copy trunk to testing-x86_64

Added:
  knavalbattle/repos/testing-x86_64/
  knavalbattle/repos/testing-x86_64/PKGBUILD
    (from rev 351072, knavalbattle/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: knavalbattle/repos/testing-x86_64/PKGBUILD (from rev 351072, knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-04-20 16:35:45 UTC (rev 351073)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=knavalbattle
+pkgver=19.04.0
+pkgrel=1
+pkgdesc="A ship sinking game"
+url="https://kde.org/applications/games/knavalbattle/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+depends=(libkdegames hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegames-knavalbattle)
+replaces=(kdegames-knavalbattle)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('1e6fbd202092230017c268cd825438debf766e3cc810244b63dc8690b5a69585'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list