# vim: set syn=sh: # Packager: Phill Watkins pkgname=gnome-volume-control pkgver=2.32.0 pkgrel=1pw #arch=noarch source=("http://ftp.gnome.org/pub/GNOME/sources/gnome-media/$(echo $pkgver | awk -F. '{print $1"."$2}')/gnome-media-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/gnome/$pkgname docs=("AUTHORS" "ChangeLog*" "COPYING" "COPYING-DOCS" "INSTALL" "NEWS" "MAINTAINERS" "README") url=http://www.gnome.org options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-volume-control (GNOME volume control)" "This packages contains the gnome-volume-control mixer and applet for" "controlling sound preferences." ) build() { set -e cd $startdir/src/gnome-media-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-profiles \ --enable-gstprops \ --disable-gstmix \ --disable-grecord \ --disable-schemas-install \ --disable-scrollkeeper \ --disable-static \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \ --build=$arch-slackware-linux make -j $numjobs make -C $pkgname install DESTDIR=$startdir/pkg sed "/OnlyShowIn=s|=.*$|GNOME;XFCE;MATE|" -i $startdir/pkg/usr/share/applications/gnome-volume-control.desktop sed "/OnlyShowIn=s|=.*$|GNOME;XFCE;MATE|" -i $startdir/pkg/etc/xdg/autostart/gnome-volume-control-applet.desktop set +e }