blob: 6f30381517a2987d5f887f9b5cbf872eb8b0d809 (
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
|
# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
pkgname=musikcube-git
pkgver=3.0.4.r0.g009e9620b
pkgrel=1
pkgdesc="a terminal-based cross-platform music player, audio engine, metadata indexer, and server"
arch=('x86_64')
url="https://github.com/clangen/musikcube"
license=('BSD')
depends=('libogg' 'libvorbis' 'libmicrohttpd' 'ffmpeg' 'lame' 'ncurses' 'pulse-native-provider'
'libpulse' 'alsa-lib' 'curl' 'libev' 'taglib' 'libopenmpt' 'asio')
makedepends=('cmake' 'git')
provides=('musikcube')
conflicts=('musikcube')
source=('musikcube::git+https://github.com/clangen/musikcube.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
cmake -B build -S "${PWD}" -DCMAKE_INSTALL_PREFIX=/usr
make -C build
}
package() {
cd "$srcdir/${pkgname%-git}"
make -C build DESTDIR="$pkgdir/" install
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|