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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:08:11 UTC 2018


    Date: Friday, November 9, 2018 @ 22:08:11
  Author: felixonmars
Revision: 404856

archrelease: copy trunk to community-staging-any

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

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

Copied: megaglest-data/repos/community-staging-any/PKGBUILD (from rev 404854, megaglest-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:08:11 UTC (rev 404856)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=megaglest-data
+_pkgbasename=megaglest
+pkgver=3.13.0
+pkgrel=2
+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