blob: 89839836e9283182a3ac35f41865d903455256bf (
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
37
38
39
40
41
|
# Maintainer: Hildigerr Vergaray <Maintainer at YmirSystems dot com>
# Contributor: John Jenkins <twodopeshaggy at gmail dot com>
pkgname=btag-git
pkgver=1.4.1
pkgrel=4
pkgdesc="A command line based audio file tagger"
arch=('i686' 'x86_64')
url="https://github.com/fernandotcl/btag"
license=('BSD')
depends=('libcue' 'taglib' 'libedit')
makedepends=('git' 'cmake' 'pkg-config' 'boost')
provides=("${pkgname%-git}")
source=(
"${pkgname%-git}::git+${url}"
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --dirty | sed 's/release-//'
}
build() {
cd "${srcdir}/${pkgname%-git}"
mkdir 'build'
cd 'build'
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make
}
package() {
cd "${srcdir}/${pkgname%-git}/build"
make "DESTDIR=${pkgdir}" install
install -Dm644 ../man/btag.1 "${pkgdir}/usr/share/man/man1/btag.1"
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}
|