summaryrefslogtreecommitdiffstats
path: root/main/mp3splt-gtk/APKBUILD
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-03-17 17:49:40 +0000
committerJeff Bilyk <jbilyk@gmail.com>2012-03-17 17:49:40 +0000
commitf12d1fd4f67201554b6ae550d8800e6b979ef6f8 (patch)
tree5baa0408e5e3e01493dba9ee5731a5ae3d287ac7 /main/mp3splt-gtk/APKBUILD
parenta6655ac9b6cad23ea5f7556a2d60b7bbaa2e1ce5 (diff)
downloadaports-f12d1fd4f67201554b6ae550d8800e6b979ef6f8.tar.bz2
aports-f12d1fd4f67201554b6ae550d8800e6b979ef6f8.tar.xz
main/{mp3splt,libmp3splt,mp3splt-gtk}: moved from testing
fixes #769
Diffstat (limited to 'main/mp3splt-gtk/APKBUILD')
-rw-r--r--main/mp3splt-gtk/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/mp3splt-gtk/APKBUILD b/main/mp3splt-gtk/APKBUILD
new file mode 100644
index 000000000..f8b83a6de
--- /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"