Date: Friday, July 20, 2018 @ 22:34:17 Author: arojas Revision: 329245
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: knavalbattle/repos/kde-unstable-x86_64/ knavalbattle/repos/kde-unstable-x86_64/PKGBUILD (from rev 329244, knavalbattle/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: knavalbattle/repos/kde-unstable-x86_64/PKGBUILD (from rev 329244, knavalbattle/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2018-07-20 22:34:17 UTC (rev 329245) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=knavalbattle +pkgver=18.07.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('69ca8d72fc504d8c17e57903315872ca8b4db7049261c9d11f4cb3db7811e7bd' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@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 +}