blob: 338bdd7ff80183b4a8dba954b594065d523ad38a (
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.1
pkgrel=2
pkgdesc="scriptable music files tags tool and editor"
arch=('i686' 'x86_64')
url="https://github.com/kAworu/tagutil"
license=('BSD-2-Clause')
depends=(
'libyaml'
'taglib'
'flac'
'libvorbis'
'jansson'
)
makedepends=(
'cmake'
)
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('a5a88f8f40c3654e902066e4aba8e6c4e2c89fcf64ca823d81db80c3dad41a80')
build() {
cd "${pkgname}-${pkgver}"
mkdir build
cd build
cmake ../src -DPREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
make
}
package() {
cd "${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|