v1.5.2.r0.ge6f1637

This commit is contained in:
agus-balles 2023-11-11 11:10:48 -03:00
commit bd6fb8839d
2 changed files with 48 additions and 0 deletions

17
.SRCINFO Executable file
View file

@ -0,0 +1,17 @@
pkgbase = kew-git
pkgdesc = A command-line music player
pkgver = v1.5.2.r0.ge6f1637
pkgrel = 1
url = https://github.com/ravachol/cue
arch = x86_64
license = GPL
depends = ffmpeg
depends = fftw
depends = git
depends = chafa
depends = freeimage
conflicts = cue
source = git+https://github.com/ravachol/cue
sha256sums = SKIP
pkgname = kew-git

31
PKGBUILD Executable file
View file

@ -0,0 +1,31 @@
# Maintainer: <agustinballesteros04@gmail.com>
pkgname=kew-git
pkgver=v1.5.2.r0.ge6f1637
pkgrel=1
pkgdesc="A command-line music player"
arch=('x86_64')
url="https://github.com/ravachol/cue"
license=('GPL')
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 kew "$pkgdir/usr/bin/kew"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "$srcdir/cue/docs/kew-manpage.mdoc" "$pkgdir/usr/share/man/man1/kew.1"
}