#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=pitivi
pkgver=0.15.2
pkgrel=1rl
source=("http://ftp.gnome.org/pub/GNOME/sources/pitivi/0.15/pitivi-0.15.2.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls" "release")
url=http://www.pitivi.org/

doinst() {
# update the mime desktop database
if [ -x usr/bin/update-desktop-database ]; then
        usr/bin/update-desktop-database -q
fi
# update the mime database
if [ -x usr/bin/update-mime-database ]; then
        usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"pitivi (a free, intuitive and featureful movie editor)"
"PiTiVi allows users to easily edit audio/video projects based on the"
"GStreamer framework. PiTIVi provides several ways of creating and"
"modifying a timeline. Ranging from a simple synopsis view (a-la"
"iMovie) to the full-blown editing view (aka Complex View) which puts"
"you in complete control of your editing."
)


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