aboutsummaryrefslogtreecommitdiffstats
path: root/community/vorbisgain/APKBUILD
blob: 0ac3b85ecbf3d1e8d60afd3579b8927a411cc8dc (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vorbisgain
pkgver=0.37
pkgrel=0
pkgdesc="A utility that computes the ReplayGain values for Ogg Vorbis files"
url="https://sjeng.org/vorbisgain.html"
arch="all"
license="GPL-2.0-only"
makedepends="libvorbis-dev"
subpackages="$pkgname-doc"
source="https://sjeng.org/ftp/vorbis/vorbisgain-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-recursive
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="67181834e1a0d7c6e1ccd984e2d30ebf1dcdff84caa77f75e5e771de8414904810e966a43852b7184e075d2428fd8b431124835efc370ce6504b8b2756746e04  vorbisgain-0.37.tar.gz"