Date: Saturday, March 24, 2018 @ 00:31:34 Author: arojas Revision: 320011
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: ksnakeduel/repos/kde-unstable-x86_64/ ksnakeduel/repos/kde-unstable-x86_64/PKGBUILD (from rev 320010, ksnakeduel/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: ksnakeduel/repos/kde-unstable-x86_64/PKGBUILD (from rev 320010, ksnakeduel/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2018-03-24 00:31:34 UTC (rev 320011) @@ -0,0 +1,38 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=ksnakeduel +pkgver=18.03.80 +pkgrel=1 +pkgdesc="A simple snake duel game" +url="https://kde.org/applications/games/ksnakeduel/" +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdegames) +depends=(libkdegames hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools) +conflicts=(kdegames-ksnakeduel) +replaces=(kdegames-ksnakeduel) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('9f25e868bd5ccede3d07e51cb4699f53ad20427085e443bea4bc150443574d02' + '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 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}