Date: Saturday, March 7, 2020 @ 17:08:27 Author: anthraxx Revision: 591225
archrelease: copy trunk to community-x86_64 Added: emptyepsilon/repos/community-x86_64/PKGBUILD (from rev 591224, emptyepsilon/trunk/PKGBUILD) Deleted: emptyepsilon/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-07 17:08:20 UTC (rev 591224) +++ PKGBUILD 2020-03-07 17:08:27 UTC (rev 591225) @@ -1,48 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Mewp <aur.archlinux....@mewp.pl> - -pkgname=emptyepsilon -pkgver=2020.01.15 -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 591224, emptyepsilon/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-07 17:08:27 UTC (rev 591225) @@ -0,0 +1,48 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Mewp <aur.archlinux....@mewp.pl> + +pkgname=emptyepsilon +pkgver=2020.02.18 +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: