#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=gst-plugins-ugly
pkgver=0.10.12
pkgrel=2gv
arch=x86_64
source=("http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2")
docs=("about-nls" "readme" "install" "copying" "changelog" "authors" "news" "todo" "release" "requirements")
url="http://gstreamer.freedesktop.org/"
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gst-plugins-ugly - plug-ins which might have distribution problems"
"GStreamer Ugly Plug-ins is a set of plug-ins that have good quality"
"and correct functionality, but distributing them might pose problems."
"The license on either the plug-ins or the supporting libraries might"
"not be how we'd like. The code might be widely known to present patent"
"problems."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}