summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f594e18679d09696af20588f799e3a145dcade6b (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: ache <ache@ache.one>

pkgname=metag-git
pkgver=20190927
pkgrel=1
pkgdesc="Ncurses audio tag editor with support of regex"
arch=("any")
url="https://git.ache.one/metag"
license=('GPL3')
makedepends=('git' 'readline' 'taglib')
provides=("metag=${pkgver}")
source=("metag::git+https://git.ache.one/metag")

md5sums=('SKIP')

pkgver() {
    cd "$srcdir/metag"
    git log -1 --format='%cd' --date=short | tr -d -- '-'
}

build() {
    cd "$srcdir/metag"
    make
}

package() {
    cd "$srcdir/metag"
    install -Dm755 "metag" "$pkgdir/usr/bin/metag"
}