diff options
author | Rudolf Polzer | 2022-02-03 08:40:56 -0500 |
---|---|---|
committer | Rudolf Polzer | 2022-02-03 08:42:29 -0500 |
commit | fe486d568d0ec98625e91a291dec7f637ede2599 (patch) | |
tree | 2b83d97731f5793dc461671178995be05951a20e | |
parent | 638d6aa655e99d929c8856e51829d4372b9c20c2 (diff) | |
download | aur-fe486d568d0ec98625e91a291dec7f637ede2599.tar.gz |
Stop using git; since current release, all data needed is on github releases.
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 17 insertions, 18 deletions
@@ -1,11 +1,10 @@ pkgbase = aaaaxy pkgdesc = A nonlinear puzzle platformer taking place in non-Euclidean geometry pkgver = 1.1.66 - pkgrel = 1 + pkgrel = 2 url = https://github.com/divVerent/aaaaxy arch = x86_64 license = Apache - makedepends = git makedepends = go makedepends = graphviz makedepends = imagemagick @@ -18,9 +17,9 @@ pkgbase = aaaaxy depends = hicolor-icon-theme depends = libglvnd depends = libx11 - source = git+https://github.com/divVerent/aaaaxy#tag=v1.0.187 - source = git+https://github.com/gabomdq/SDL_GameControllerDB.git - sha256sums = SKIP - sha256sums = SKIP + source = aaaaxy-1.1.66.tar.gz::https://github.com/divVerent/aaaaxy/archive/refs/tags/v1.1.66.tar.gz + source = https://github.com/divVerent/aaaaxy/releases/download/v1.1.66/sdl-gamecontrollerdb-for-aaaaxy-v1.1.66.zip + sha256sums = cc857d2e4af46e109fdbbbea28d7207c5985ce85338095ed87a3452467ff6c7e + sha256sums = d0ea8cef9d972ddef3b635bfe207928c4bc649b5ea4e8757f4ad8d192b848569 pkgname = aaaaxy @@ -3,7 +3,7 @@ pkgname=aaaaxy pkgver=1.1.66 -pkgrel=1 +pkgrel=2 pkgdesc='A nonlinear puzzle platformer taking place in non-Euclidean geometry' arch=('x86_64') url="https://github.com/divVerent/$pkgname" @@ -14,27 +14,27 @@ depends=('alsa-lib' 'hicolor-icon-theme' 'libglvnd' 'libx11') # external linker is used with --as-needed in Arch's default LDFLAGS, these will # not actually be linked to by the final binary. This is why these are in # makedepends but not depends. -makedepends=('git' 'go' 'graphviz' 'imagemagick' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'make') -source=("git+$url#tag=v$pkgver" - "git+https://github.com/gabomdq/SDL_GameControllerDB.git") -sha256sums=('SKIP' - 'SKIP') +makedepends=('go' 'graphviz' 'imagemagick' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'make') +source=("aaaaxy-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" + "${url}/releases/download/v${pkgver}/sdl-gamecontrollerdb-for-aaaaxy-v${pkgver}.zip") +sha256sums=('cc857d2e4af46e109fdbbbea28d7207c5985ce85338095ed87a3452467ff6c7e' + 'd0ea8cef9d972ddef3b635bfe207928c4bc649b5ea4e8757f4ad8d192b848569') prepare() { - cd "$pkgname" - git submodule init - git config 'submodule.third_party/SDL_GameControllerDB/assets/input/SDL_GameControllerDB.url' "${srcdir}/SDL_GameControllerDB" - git submodule update + cd "$pkgname-$pkgver" + mkdir -p third_party/SDL_GameControllerDB/assets/input/ + cp ../third_party/SDL_GameControllerDB/assets/input/* third_party/SDL_GameControllerDB/assets/input/ } build() { - cd "$pkgname" + cd "$pkgname-$pkgver" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + export AAAAXY_BUILD_USE_VERSION_FILE=true make BUILDTYPE=release } package() { - cd "$pkgname" + cd "$pkgname-$pkgver" install -Dm644 io.github.divverent.$pkgname.metainfo.xml "$pkgdir"/usr/share/metainfo/io.github.divverent.$pkgname.metainfo.xml install -Dm644 $pkgname.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/$pkgname.png install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop |