blob: 903d7bf78cf1cc83d5115adaa8812aa243780816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: BonnyAD9 (Bonny4)
pkgname=uamp
pkgver=0.5.9
pkgrel=2
pkgdesc="Universal Advanced Music Player written in rust."
arch=(x86_64)
url="https://bonnyad9.github.io/uamp/"
license=('GPL-3.0-or-later')
depends=(gcc-libs alsa-lib glibc)
makedepends=(git cargo)
optdepends=()
provides=(uamp)
source=("https://github.com/BonnyAD9/uamp/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('SKIP')
options=('!debug')
build() {
cd "uamp-$pkgver"
cargo build -r
}
package() {
cd "uamp-$pkgver"
I_DIR="$pkgdir/usr/bin"
mkdir -p "$I_DIR"
cp "target/release/uamp" "$I_DIR/uamp"
I_DIR="$pkgdir/usr/share/man/man1"
mkdir -p "$I_DIR"
cp "other/manpages/uamp.1" "$I_DIR/uamp.1"
I_DIR="$pkgdir/usr/share/man/man5"
mkdir -p "$I_DIR"
cp "other/manpages/uamp.5" "$I_DIR/uamp.5"
}
|