diff options
Diffstat (limited to 'hurrycurry-pixel-client-git/PKGBUILD')
-rw-r--r-- | hurrycurry-pixel-client-git/PKGBUILD | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/hurrycurry-pixel-client-git/PKGBUILD b/hurrycurry-pixel-client-git/PKGBUILD deleted file mode 100644 index 4f7596c..0000000 --- a/hurrycurry-pixel-client-git/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: metamuffin <metamuffin@disroot.org> - -pkgname=hurrycurry-pixel-client-git -pkgver=r2076.acaed50d -pkgrel=1 -pkgdesc="A game about cooking (pixel client)" -arch=('i686' 'armv6h' 'armv7h') -url="https://codeberg.org/hurrycurry/hurrycurry" -license=('AGPL3') -depends=('sdl2') -makedepends=('rustup' 'sdl2' 'sdl2_image') -conflics=('hurrycurry-pixel-client') -provides=('hurrycurry-pixel-client') -source=("git+https://codeberg.org/hurrycurry/hurrycurry.git" - "hurrycurry-pixel-client.desktop") -sha256sums=("SKIP" - "SKIP") - -rust_chost() { - sed -e "s/-pc-linux/-unknown-linux/" -e "s/armv7l-/armv7-/" <<< "$CHOST" -} - -pkgver() { - cd "hurrycurry" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} -prepare() { - cd "hurrycurry" - rustup default nightly - cargo +nightly fetch --locked --target "$(rust_chost)" -} -build() { - cd "hurrycurry" - make pixel-client - cargo build --release --bin pixelcurry --target "$(rust_chost)" -} -package() { - install -Dm755 hurrycurry/target/$(rust_chost)/release/pixelcurry "$pkgdir/usr/bin/pixelcurry" - install -Dm644 hurrycurry-pixel-client.desktop "$pkgdir/usr/share/applications/hurrycurry-pixel-client.desktop" - install -Dm644 hurrycurry/COPYING "$pkgdir/usr/share/licenses/hurrycurry-pixel-client/COPYING" - install -Dm644 hurrycurry/pixel-client/icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/pixelcurry.png" -} |