[arch-commits] Commit in jumpy/repos (3 files)

Orhun Parmaksiz orhun at gemini.archlinux.org
Tue Aug 2 17:07:11 UTC 2022


    Date: Tuesday, August 2, 2022 @ 17:07:10
  Author: orhun
Revision: 1259849

archrelease: copy trunk to community-x86_64

Added:
  jumpy/repos/community-x86_64/
  jumpy/repos/community-x86_64/PKGBUILD
    (from rev 1259848, jumpy/trunk/PKGBUILD)
  jumpy/repos/community-x86_64/jumpy.sh
    (from rev 1259848, jumpy/trunk/jumpy.sh)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 jumpy.sh |    3 +++
 2 files changed, 53 insertions(+)

Copied: jumpy/repos/community-x86_64/PKGBUILD (from rev 1259848, jumpy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-08-02 17:07:10 UTC (rev 1259849)
@@ -0,0 +1,50 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
+
+pkgname=jumpy
+pkgver=0.4.3
+pkgrel=1
+pkgdesc="Tactical 2D shooter in fishy pixels style"
+arch=('x86_64')
+url="https://fishfight.org"
+license=('MIT' 'Apache')
+depends=('pkg-config' 'libx11' 'libxi' 'mesa-libgl' 'alsa-lib' 'systemd-libs' 'libudev.so')
+makedepends=('cargo' 'systemd')
+replaces=('fishfight')
+source=(
+  "$pkgname-$pkgver.tar.gz::https://github.com/fishfight/jumpy/archive/v$pkgver.tar.gz"
+  "$pkgname.sh"
+)
+sha512sums=('b697ece72321ca88fc0ca6732a5eee217903f6c74cd0c007b4cf045292d537a3c50800390727f3c943672e1de57169a4d017dca3ea48aa1862c34883f8bd1e39'
+            '0b0a88e4201a424b613f0ffe93eb6dac7d25d9b66207258a354e6e53a315363de9be8446633969212cc5e959120b20bfc624134ec59441346d5b71b132344f1a')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/lib"
+  install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+
+  mkdir -p "$pkgdir/opt/$pkgname"
+  cp -r "assets" "mods" "$pkgdir/opt/$pkgname/"
+  find "$pkgdir/opt/$pkgname/assets/sounds/" -type f -exec chmod 444 {} \;
+
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 licenses/LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Copied: jumpy/repos/community-x86_64/jumpy.sh (from rev 1259848, jumpy/trunk/jumpy.sh)
===================================================================
--- community-x86_64/jumpy.sh	                        (rev 0)
+++ community-x86_64/jumpy.sh	2022-08-02 17:07:10 UTC (rev 1259849)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+JUMPY_ASSETS=/opt/jumpy/assets/ JUMPY_MODS=/opt/jumpy/mods/ exec /usr/lib/jumpy "$@"



More information about the arch-commits mailing list