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

Levente Polyak anthraxx at gemini.archlinux.org
Fri May 6 22:39:05 UTC 2022


    Date: Friday, May 6, 2022 @ 22:39:05
  Author: anthraxx
Revision: 1196089

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-06 22:38:59 UTC (rev 1196088)
+++ PKGBUILD	2022-05-06 22:39:05 UTC (rev 1196089)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Mewp <aur.archlinux.org at mewp.pl>
-
-pkgname=emptyepsilon
-pkgver=2021.06.23
-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' 'glibc' 'gcc-libs')
-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/share/doc/EmptyEpsilon/script_reference.html "${pkgdir}/usr/share/doc/emptyepsilon"
-  rmdir "${pkgdir}"/usr/share/doc/EmptyEpsilon
-}
-
-# vim: ts=2 sw=2 et:

Copied: emptyepsilon/repos/community-x86_64/PKGBUILD (from rev 1196088, emptyepsilon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-06 22:39:05 UTC (rev 1196089)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Mewp <aur.archlinux.org at mewp.pl>
+
+pkgname=emptyepsilon
+pkgver=2022.03.16
+pkgrel=1
+pkgdesc='Open source spaceship bridge simulator'
+url='https://github.com/daid/EmptyEpsilon'
+arch=('x86_64')
+license=('GPL2')
+depends=('libglvnd' 'libx11' 'libxrandr' 'glibc' 'gcc-libs' 'sdl2')
+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/share/doc/EmptyEpsilon/script_reference.html "${pkgdir}/usr/share/doc/emptyepsilon"
+  rmdir "${pkgdir}"/usr/share/doc/EmptyEpsilon
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list