aboutsummaryrefslogtreecommitdiffstats
path: root/community/abcde/APKBUILD
blob: fb00c051141ee9dda8c37884bfc34ec47eab8c97 (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
# Maintainer:
pkgname=abcde
pkgver=2.9.2
pkgrel=0
pkgdesc="A command line CD encoder that reads your CD, downloads the track information from a CDDB provider, and rips your CD"
url="http://abcde.einval.com/"
arch="noarch"
license="GPL-2.0"
depends="bash cd-discid py-eyed3"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://abcde.einval.com/download/abcde-${pkgver}.tar.gz
	busybox-wget.patch"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	default_prepare
	sed -e "s:normalize-audio:normalize:g" -i ${pkgname}
}

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" \
		prefix=/usr \
		sysconfdir=/etc \
		docdir=/usr/share/doc/${pkgname} \
		install
}

sha512sums="ef0048edf040ed5afee6fdd77377800ec02a3ba323647edd6d384679671b47eee63d8bd1c72ce6fe5ed3ab087a3d7f4024ab39e644be4ab8a92f5c5c0ddabfb5  abcde-2.9.2.tar.gz
282eecc38064713e69705b2b5531822a44c74565fb2cea84f24c0210433d5cc4ec575f511d76b7f72d9af45c74e4722cd62e91c73145bfd06e1f5f0af2d44719  busybox-wget.patch"