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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Apr 1 08:07:08 UTC 2015


    Date: Wednesday, April 1, 2015 @ 10:07:07
  Author: svenstaro
Revision: 130462

archrelease: copy trunk to community-staging-any

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

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

Copied: megaglest-data/repos/community-staging-any/PKGBUILD (from rev 130461, megaglest-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-04-01 08:07:07 UTC (rev 130462)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=megaglest-data
+_pkgbasename=megaglest
+pkgver=3.11.1
+pkgrel=1
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world (data files)"
+arch=('any')
+url="http://sourceforge.net/projects/megaglest/"
+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