summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b02e8dfa5547119002e5cc29cc9488df0528fde (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
# Maintainer: dllud <dllud riseup net>
# Contributor: Lucas SaliƩs Brum <lucas@archlinux.com.br>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>

pkgname=id3-git
pkgver=r573.a899eac
pkgrel=1
pkgdesc="id3 mass tagger lists and manipulates ID3 and Lyrics3 tags in multiple files."
url="https://squell.github.io/id3/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('gcc-libs')
makedepends=('git')
conflicts=('id3')
options=('!makeflags')
source=("$pkgname::git+https://github.com/squell/id3.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install

  #install license
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}