aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asunder/APKBUILD
blob: 05fc701d76409fb4ba849883c6f26229c8d09514 (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
40
41
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asunder
pkgver=2.3
pkgrel=1
pkgdesc="A graphical Audio CD ripper and encoder"
url="http://littlesvr.ca/asunder"
arch="all"
license="GPL2"
depends="cdparanoia"
makedepends="libcddb-dev gtk+-dev"
install=""
subpackages="$pkgname-lang"
source="http://littlesvr.ca/asunder/releases/asunder-$pkgver.tar.bz2"

_builddir="$srcdir"/asunder-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="dd690d8f4c68a2e786c657e08be688d0  asunder-2.3.tar.bz2"
sha256sums="ded2eff22c7e65f46eecd8ad89c6c37c5a032af280e293a59c3e5bb34c0bb05f  asunder-2.3.tar.bz2"
sha512sums="fdab3a7767b63d807d7a8d7bb590da0e2229c4da34eba92d3cde0b955aa3cb7a6f45081fe3616576bfd4ed7847aac56c580cb4ecaa9f3bdde9759dd1a75f777d  asunder-2.3.tar.bz2"