Date: Sunday, March 3, 2019 @ 18:44:27 Author: ffy00 Revision: 437484
archrelease: copy trunk to staging-x86_64 Added: cockatrice/repos/staging-x86_64/ cockatrice/repos/staging-x86_64/PKGBUILD (from rev 437483, cockatrice/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: cockatrice/repos/staging-x86_64/PKGBUILD (from rev 437483, cockatrice/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-03-03 18:44:27 UTC (rev 437484) @@ -0,0 +1,46 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +pkgname=cockatrice +_pkgname=Cockatrice +pkgver=2.6.2 +_tag=2018-12-20-Release-$pkgver +pkgrel=2 +pkgdesc='A cross-platform virtual tabletop for multiplayer card games' +arch=('x86_64') +url='https://cockatrice.github.io' +license=('GPL2') +depends=('qt5-base' 'protobuf' 'qt5-tools' 'qt5-svg' 'qt5-multimedia' 'qt5-websockets') +makedepends=('cmake' 'git' 'zlib') +checkdepends=('gtest') +optdepends=('zlib: Load zipped files in Oracle') +provides=('cockatrice-client' 'cockatrice-server') +conflicts=('cockatrice-client' 'cockatrice-server') +source=("git+https://github.com/Cockatrice/Cockatrice.git#tag=$_tag") +sha512sums=('SKIP') + +build() { + mkdir -p $_pkgname/build + cd $_pkgname/build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_ORACLE=ON \ + -DWITH_CLIENT=ON \ + -DWITH_SERVER=ON \ + -DTEST=ON + + make +} + +#check() { +# cd $_pkgname/build +# +# make test +#} + +package() { + cd $_pkgname/build + + make DESTDIR="$pkgdir" install +} +