[arch-commits] Commit in cockatrice/repos (3 files)

Lukas Fleischer lfleischer at archlinux.org
Fri May 29 18:29:58 UTC 2020


    Date: Friday, May 29, 2020 @ 18:29:57
  Author: lfleischer
Revision: 637237

db-move: moved cockatrice from [community-staging] to [community-testing] (x86_64)

Added:
  cockatrice/repos/community-testing-x86_64/
  cockatrice/repos/community-testing-x86_64/PKGBUILD
    (from rev 637236, cockatrice/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  cockatrice/repos/community-staging-x86_64/

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

Copied: cockatrice/repos/community-testing-x86_64/PKGBUILD (from rev 637236, cockatrice/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-05-29 18:29:57 UTC (rev 637237)
@@ -0,0 +1,48 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=cockatrice
+_pkgname=Cockatrice
+pkgver=2.7.4
+_date=2020-03-20
+_tag=$_date-Release-$pkgver
+pkgrel=4
+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')
+optdepends=('mariadb-libs: MySQL/MariaDB connection')
+makedepends=('cmake' 'git' 'zlib' 'mariadb-libs')
+checkdepends=('gtest' 'valgrind')
+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
+}
+


More information about the arch-commits mailing list