diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 13:26:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 13:26:33 +0000 |
commit | 32714475423097745796dcc972c646118f107d9b (patch) | |
tree | 0f07a5329c1664a94ae26f8e77b01d37dd10b6b3 /community/gnomad2 | |
parent | c81ae9a4e7978c040d6ff3024e76bb21c3825db8 (diff) | |
download | aports-32714475423097745796dcc972c646118f107d9b.tar.bz2 aports-32714475423097745796dcc972c646118f107d9b.tar.xz |
community/gnomad2: move from main
Diffstat (limited to 'community/gnomad2')
-rw-r--r-- | community/gnomad2/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community/gnomad2/APKBUILD b/community/gnomad2/APKBUILD new file mode 100644 index 0000000000..05cf093b89 --- /dev/null +++ b/community/gnomad2/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gnomad2 +pkgver=2.9.6 +pkgrel=3 +pkgdesc="A GNOME 2.0 client for the Creative Jukeboxes and Dell DJs" +url="http://gnomad2.sourceforge.net" +arch="all" +license="GPLv2+" +depends="" +depends_dev="" +makedepends="$depends_dev gtk+2.0-dev libnjb-dev libmtp-dev libid3tag-dev + taglib-dev libgudev-dev" +install="" +subpackages="$pkgname-lang $pkgname-doc" +source="http://download.sourceforge.net/gnomad2/gnomad2-$pkgver.tar.gz" + +_builddir="$srcdir"/gnomad2-$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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="213bfee7d020aea092576b45691aba36 gnomad2-2.9.6.tar.gz" |