# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnomad2
pkgver=2.9.6
pkgrel=4
pkgdesc="A GNOME 2.0 client for the Creative Jukeboxes and Dell DJs"
url="http://gnomad2.sourceforge.net"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+2.0-dev libnjb-dev libmtp-dev libid3tag-dev
	taglib-dev libgudev-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="http://download.sourceforge.net/gnomad2/gnomad2-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

sha512sums="10f025ac38089ebc4a063ac25a262d3e2f6b72336c4566877fae311a873923b55d532d210fd2ec8a29013c06c806ddacc50f042546e4aaa5cf23228d09d854a1  gnomad2-2.9.6.tar.gz"
