summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f0c6a929287c300a1c019ff6a5e28c69b8848f8 (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
# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx>
# Contributor: Rolinh <robinDOThahlingATgw-computingDOTnet>

pkgname=tagutil
pkgver=3.0.2
pkgrel=1
pkgdesc="scriptable music files tags tool and editor"
arch=('i686' 'x86_64')
url="https://github.com/kAworu/tagutil"
license=('BSD')
depends=(
    'libyaml'
    'taglib'
    'flac'
    'libvorbis'
    'jansson'
)
makedepends=(
    'cmake'
)
options=(!emptydirs)
source=("${url}/archive/v${pkgver}.tar.gz")
md5sums=('5d434c7aa174b8d4a1b76e01b8bcd2a1')

build() {
    cd "${pkgname}-${pkgver}"

    cmake . -DPREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
    make
}

package() {
    cd "${pkgname}-${pkgver}"

    make DESTDIR="${pkgdir}" install
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/"${pkgname}"/LICENSE"
}

# vim:set ts=4 sw=4 et: