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

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

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

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

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