blob: f6776b72a67247f43faa98d7087a4961e3b3db39 (
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
|
# Maintainer: <agustinballesteros04@gmail.com>
pkgname=cue-music-command-git
pkgver=v1.4.r9.g3faed2a
pkgrel=1
pkgdesc="A command-line music player"
arch=('x86_64')
url="https://github.com/ravachol/cue"
license=('GPL2')
depends=('ffmpeg' 'fftw' 'git' 'chafa' 'freeimage')
conflicts=('cue')
sha256sums=('SKIP')
source=("git+${url}")
pkgver() {
cd "$srcdir/cue"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/cue"
make
}
package() {
cd "$srcdir/cue"
install -Dm755 cue "$pkgdir/usr/bin/cue"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
install -Dm644 "$srcdir/cue/docs/cue-manpage.mdoc" "$pkgdir/usr/share/man/man1/cue.1"
}
|