blob: 35a78e0ccd99aa56e0be15638de8a1326145c233 (
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
|
# Maintainer: Alexander Schmidt <alex@treefish.org>
pkgname=usetaglib-git
pkgver=r18.d2fdf4b
pkgrel=2
pkgdesc="Command line utility to read and edit meta-data of audio formats supported by taglib."
arch=('i686' 'x86_64')
url="http://git.treefish.org/~alex/usetaglib.git"
license=('GPL3')
source=('usetaglib-git::git+https://git.treefish.org/~alex/usetaglib.git')
depends=('taglib>=1.9.1')
makedepends=('git' 'ca-certificates-cacert')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd $srcdir/$pkgname
make
}
package() {
install -Dm755 -t ${pkgdir}/usr/bin $srcdir/$pkgname/usetaglib
}
|