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

pkgname=salix-codecs-installer
pkgver=2.2.4
pkgrel=1gv
arch=noarch
source=("salix-codecs-installer-$pkgver.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "knownissues")
options=('nosrcpack')

doinst() {
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"salix-codecs-installer (install restricted multimedia codecs)"
"salix-codecs-installer is an easy to use front-end to help you install"
"gstreamer codecs and assorted libraries required for playing"
"restricted formats with gstreamer based media players, like totem or"
"exaile. These codecs may not be legal in all countries due to patent"
"reasons, so you have to opt-in for them."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	make
	make install DESTDIR=$startdir/pkg
}