diff options
Diffstat (limited to 'main/mp3splt-gtk/APKBUILD')
-rw-r--r-- | main/mp3splt-gtk/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/mp3splt-gtk/APKBUILD b/main/mp3splt-gtk/APKBUILD new file mode 100644 index 0000000000..f8b83a6de5 --- /dev/null +++ b/main/mp3splt-gtk/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=mp3splt-gtk +pkgver=0.7 +pkgrel=0 +pkgdesc="Gtk frontend for mp3splt" +url="http://mp3splt.sourceforge.net/" +arch="all" +license="GPLv2" +depends="" +makedepends="gtk+-dev gst-plugins-base-dev gnome-doc-utils libmp3splt-dev + audacious-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-$pkgver.tar.gz" + +_builddir="$srcdir"/mp3splt-gtk-$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 \ + --disable-gnome \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="a1cefffb7ea78ae7c07c8d3ba7a2630b mp3splt-gtk-0.7.tar.gz" |