[arch-commits] Commit in emptyepsilon/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Apr 12 19:22:54 UTC 2020


    Date: Sunday, April 12, 2020 @ 19:22:53
  Author: anthraxx
Revision: 613459

archrelease: copy trunk to community-x86_64

Added:
  emptyepsilon/repos/community-x86_64/PKGBUILD
    (from rev 613458, emptyepsilon/trunk/PKGBUILD)
Deleted:
  emptyepsilon/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-12 19:22:48 UTC (rev 613458)
+++ PKGBUILD	2020-04-12 19:22:53 UTC (rev 613459)
@@ -1,48 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Mewp <aur.archlinux.org at mewp.pl>
-
-pkgname=emptyepsilon
-pkgver=2020.03.22
-pkgrel=1
-pkgdesc='Open source spaceship bridge simulator'
-url='https://github.com/daid/EmptyEpsilon'
-arch=('x86_64')
-license=('GPL2')
-depends=('sfml' 'libglvnd' 'glew' 'libx11' 'libxrandr')
-makedepends=('git' 'cmake' 'mesa' 'python')
-source=("git+https://github.com/daid/EmptyEpsilon.git#tag=EE-${pkgver}"
-        "git+https://github.com/daid/SeriousProton.git#tag=EE-${pkgver}")
-sha512sums=('SKIP'
-            'SKIP')
-
-prepare() {
-  # fix shader loading, should be upstreamed
-  sed 's|new Engine();|chdir(RESOURCE_BASE_DIR); new Engine();|' -i EmptyEpsilon/src/main.cpp
-}
-
-build() {
-  mkdir -p EmptyEpsilon/build
-  cd EmptyEpsilon/build
-  # add cppflags to use fortify
-  export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}"
-  # release type is important here to get optimisation flags
-  # defined in the project's cmake files
-  cmake -DSERIOUS_PROTON_DIR="${srcdir}/SeriousProton" \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCPACK_PACKAGE_VERSION_MAJOR="$(echo ${pkgver} | cut -d. -f1)" \
-        -DCPACK_PACKAGE_VERSION_MINOR="$(echo ${pkgver} | cut -d. -f2)" \
-        -DCPACK_PACKAGE_VERSION_PATCH="$(echo ${pkgver} | cut -d. -f3)" \
-        -DOpenGL_GL_PREFERENCE=GLVND \
-        ..
-  make
-}
-
-package() {
-  cd EmptyEpsilon
-  make -C build DESTDIR="${pkgdir}" install
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/emptyepsilon"
-  mv "${pkgdir}/usr/script_reference.html" "${pkgdir}/usr/share/doc/emptyepsilon"
-}
-
-# vim: ts=2 sw=2 et:

Copied: emptyepsilon/repos/community-x86_64/PKGBUILD (from rev 613458, emptyepsilon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-12 19:22:53 UTC (rev 613459)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Mewp <aur.archlinux.org at mewp.pl>
+
+pkgname=emptyepsilon
+pkgver=2020.04.09
+pkgrel=1
+pkgdesc='Open source spaceship bridge simulator'
+url='https://github.com/daid/EmptyEpsilon'
+arch=('x86_64')
+license=('GPL2')
+depends=('sfml' 'libglvnd' 'glew' 'libx11' 'libxrandr')
+makedepends=('git' 'cmake' 'mesa' 'python')
+source=("git+https://github.com/daid/EmptyEpsilon.git#tag=EE-${pkgver}"
+        "git+https://github.com/daid/SeriousProton.git#tag=EE-${pkgver}")
+sha512sums=('SKIP'
+            'SKIP')
+
+prepare() {
+  # fix shader loading, should be upstreamed
+  sed 's|new Engine();|chdir(RESOURCE_BASE_DIR); new Engine();|' -i EmptyEpsilon/src/main.cpp
+}
+
+build() {
+  mkdir -p EmptyEpsilon/build
+  cd EmptyEpsilon/build
+  # add cppflags to use fortify
+  export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}"
+  # release type is important here to get optimisation flags
+  # defined in the project's cmake files
+  cmake -DSERIOUS_PROTON_DIR="${srcdir}/SeriousProton" \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCPACK_PACKAGE_VERSION_MAJOR="$(echo ${pkgver} | cut -d. -f1)" \
+        -DCPACK_PACKAGE_VERSION_MINOR="$(echo ${pkgver} | cut -d. -f2)" \
+        -DCPACK_PACKAGE_VERSION_PATCH="$(echo ${pkgver} | cut -d. -f3)" \
+        -DOpenGL_GL_PREFERENCE=GLVND \
+        ..
+  make
+}
+
+package() {
+  cd EmptyEpsilon
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/emptyepsilon"
+  mv "${pkgdir}/usr/script_reference.html" "${pkgdir}/usr/share/doc/emptyepsilon"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list