diff options
author | metamuffin <metamuffin@disroot.org> | 2024-10-12 16:39:21 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-10-12 16:39:21 +0200 |
commit | a9fd82ae18eb67f6288d46d40bc893598922d181 (patch) | |
tree | 0f8f2d2cef42fcac145d5beb097e76197bc6f232 /hurrycurry-pixel-client-git | |
download | pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.bz2 pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.zst |
add existing pkgbuilds
Diffstat (limited to 'hurrycurry-pixel-client-git')
-rw-r--r-- | hurrycurry-pixel-client-git/PKGBUILD | 38 | ||||
-rw-r--r-- | hurrycurry-pixel-client-git/hurrycurry-pixel-client.desktop | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/hurrycurry-pixel-client-git/PKGBUILD b/hurrycurry-pixel-client-git/PKGBUILD new file mode 100644 index 0000000..4f22f4c --- /dev/null +++ b/hurrycurry-pixel-client-git/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: metamuffin <metamuffin@disroot.org> + +pkgname=hurrycurry-pixel-client-git +pkgver=r1860.f0d6634 +pkgrel=1 +pkgdesc="A game about cooking (pixel client)" +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +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") + +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 "$CHOST" +} +build() { + cd "hurrycurry" + make pixel-client + cargo build --release --bin pixelcurry --target "$CHOST" +} +package() { + install -Dm755 hurrycurry/target/$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" +} diff --git a/hurrycurry-pixel-client-git/hurrycurry-pixel-client.desktop b/hurrycurry-pixel-client-git/hurrycurry-pixel-client.desktop new file mode 100644 index 0000000..32389df --- /dev/null +++ b/hurrycurry-pixel-client-git/hurrycurry-pixel-client.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Pixel Curry! +Icon=pixelcurry +GenericName[de]=Ein Spiel rund ums Kochen im Retro-stil +GenericName=A retro-style game about cooking +Exec=pixelcurry +Terminal=false +StartupNotify=false +Type=Application +Categories=Game; +Keywords=game;cooking; |