[arch-commits] Commit in megaglest-data/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:34:48 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:34:48
  Author: felixonmars
Revision: 658953

archrelease: copy trunk to community-staging-any

Added:
  megaglest-data/repos/community-staging-any/
  megaglest-data/repos/community-staging-any/PKGBUILD
    (from rev 658952, megaglest-data/trunk/PKGBUILD)

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

Copied: megaglest-data/repos/community-staging-any/PKGBUILD (from rev 658952, megaglest-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 15:34:48 UTC (rev 658953)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=megaglest-data
+_pkgbasename=megaglest
+pkgver=3.13.0
+pkgrel=3
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world (data files)"
+arch=('any')
+url="https://megaglest.org"
+license=('custom:CCBYSA3.0')
+makedepends=('cmake' 'xz' 'git')
+source=("git+https://github.com/MegaGlest/megaglest-data#tag=${pkgver}")
+md5sums=('SKIP')
+
+build() {
+  cd megaglest-data
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package() {
+  cd megaglest-data
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../docs/README.data-license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+# vim: sw=2:ts=2 et:


More information about the arch-commits mailing list