# Maintainer: Lucki # Contributor: Carl Reinke # shellcheck disable=SC2034,2154,2148 pkgname=lix-git _pkgname=${pkgname%-git} pkgver=0.9.31.r1587672355.8757be6b pkgrel=2 provides=("$_pkgname") conflicts=("$_pkgname") source=("$pkgname::git+https://github.com/SimonN/lix-unstable.git") sha512sums=('SKIP') pkgdesc="An action-puzzle game inspired by Lemmings" arch=('i686' 'x86_64') url="http://www.lixgame.com/" license=('custom:CC0') depends=('allegro' 'enet' 'hicolor-icon-theme' 'liblphobos') makedepends=('git' 'ldc' 'dub') _dubv=( "4.0.4+5.2.0" # allegro "0.7.1" # bolts "4.2.0" # derelict-enet "3.0.0-beta.2" # derelict-util "0.4.2" # enumap "1.2.2" # libinputvisitor "0.6.3" # optional "0.10.6" # sdlang-d "1.0.2" # silly "0.11.18" # taggedalgebraic "0.7.55" # unit-threaded ) # let makepkg handle dub packages # These have to be git clones, otherwise dub isn't able to pick them up with the correct version later on # no git, no version field, assumed ~master # https://dub.pm/commandline.html#add-path source+=( "$pkgname-music-1.zip::http://www.lixgame.com/dow/lix-music.zip" "$pkgname.desktop" ) sha512sums+=( '37349c98b739ea43c25137dd03865f1c9c41eec91e5edc109afd9d50ce3871bd0c7f63c3f3599a47bb4ef52f5bfd14e034010de0ac2aec5a9c0c83eaf0b89425' '375b1439d9398371a3f58a92bfc0901b86bd89140aae431c7d9405bd2fb36ebcdb22b2686fea72d88b23a4ab94b138b4d742d8fd2965d8ec0542d2f8f64ed0c2' ) source+=( "$pkgname-allegro::git+https://github.com/SiegeLord/DAllegro5.git#tag=v${_dubv[0]}" "$pkgname-bolts::git+https://github.com/aliak00/bolts.git#tag=v${_dubv[1]}" "$pkgname-derelict-enet::git+https://github.com/DerelictOrg/DerelictENet.git#tag=v${_dubv[2]}" "$pkgname-derelict-util::git+https://github.com/DerelictOrg/DerelictUtil.git#tag=v${_dubv[3]}" "$pkgname-enumap::git+https://github.com/rcorre/enumap.git#tag=v${_dubv[4]}" "$pkgname-libinputvisitor::git+https://github.com/Abscissa/libInputVisitor.git#tag=v${_dubv[5]}" "$pkgname-optional::git+https://github.com/aliak00/optional.git#tag=v${_dubv[6]}" "$pkgname-sdlang-d::git+https://github.com/Abscissa/SDLang-D.git#tag=v${_dubv[7]}" "$pkgname-silly::git+https://gitlab.com/AntonMeep/silly.git#tag=v${_dubv[8]}" "$pkgname-taggedalgebraic::git+https://github.com/s-ludwig/taggedalgebraic.git#tag=v${_dubv[9]}" "$pkgname-unit-threaded::git+https://github.com/atilaneves/unit-threaded.git#tag=v${_dubv[10]}" ) sha512sums+=( 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' ) pkgver() { # https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git cd "$pkgname" || exit ( set -o pipefail # version with unix committer date to bypass git squashes printf "%s.r%s.%s" \ "$(