ommp.git

ommp

~ Oh My Music Player — a standalone terminal music player built with Rust and ratatui
git clone https://github.com/debuman/ommp.git
commit e2a94beb25e643bcea35a1a30eaa24f3a2ce24c9
parent fe95286fa8a69df1316763866a60dbb0762b00f4
Author: sqzer-x <110329244+sqzer-x@users.noreply.github.com>
Date: Sat, 1 Aug 2026 18:00:17 +0900

Add the AUR packaging files

PKGBUILD builds from the tagged GitHub tarball with --frozen against the
committed Cargo.lock, runs the test suite in check(), and installs the
binary, LICENSE and README. Verified with makepkg: the package builds and
lists only /usr/bin/ommp plus the licence and doc.

Runtime dependencies come from ldd on the release binary — alsa-lib via
rodio, plus glibc and gcc-libs. Nerd Fonts and kitty are optdepends because
the interface degrades rather than fails without them.

Diffstat:
Apackaging/aur/.SRCINFO | 18++++++++++++++++++
Apackaging/aur/PKGBUILD | 43+++++++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertion(+), 0 deletion(-)

diff --git a/packaging/aur/.SRCINFO b/packaging/aur/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ommp
+	pkgdesc = Oh My Music Player — a standalone terminal music player
+	pkgver = 0.1.1
+	pkgrel = 1
+	url = https://github.com/sqzer-x/ommp
+	arch = x86_64
+	arch = aarch64
+	license = Apache-2.0
+	makedepends = cargo
+	depends = gcc-libs
+	depends = glibc
+	depends = alsa-lib
+	optdepends = ttf-nerd-fonts-symbols: interface icons
+	optdepends = kitty: full-quality album art
+	source = ommp-0.1.1.tar.gz::https://github.com/sqzer-x/ommp/archive/refs/tags/v0.1.1.tar.gz
+	sha256sums = c17d075d59923985b8b3153ea1287627af817645dca3b804674fd39ad447b5ec
+
+pkgname = ommp
diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: sqzer (hyukjin an) <110329244+sqzer-x@users.noreply.github.com>
+
+pkgname=ommp
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Oh My Music Player — a standalone terminal music player"
+arch=('x86_64' 'aarch64')
+url="https://github.com/sqzer-x/ommp"
+license=('Apache-2.0')
+depends=('gcc-libs' 'glibc' 'alsa-lib')
+makedepends=('cargo')
+optdepends=(
+  'ttf-nerd-fonts-symbols: interface icons'
+  'kitty: full-quality album art'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('c17d075d59923985b8b3153ea1287627af817645dca3b804674fd39ad447b5ec')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  export RUSTUP_TOOLCHAIN=stable
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export RUSTUP_TOOLCHAIN=stable
+  export CARGO_TARGET_DIR=target
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export RUSTUP_TOOLCHAIN=stable
+  cargo test --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
+  install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+  install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
+}