# Maintainer: Luis Henrique # Mandatory pkgname=gtklp pkgver=1.2.8 pkgrel=1lm source=("http://downloads.sourceforge.net/project/gtklp/gtklp/1.2.8/gtklp-1.2.8.src.tar.gz" "gtklp.desktop" "gtklp.png" "gtklpq.desktop" "gtklpq.png") # Optional docs=("ABOUT-NLS" "AUTHORS" "BUGS" "COMPILING" "COPYING" "ChangeLog" "NEWS" "README" "README.FAQ" "TODO" "USAGE") url="http://gtklp.sourceforge.net" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gtklp (GUI for lp and lpq)" "GtkLP and GtkLPQ are GUI tools for the use and administration of CUPS." "They are free under the GNU General Public License (GPL)." "" "Homepage: http://gtklp.sourceforge.net" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ --with-maxprinters=150 make || return 1 make DESTDIR=$startdir/pkg install # Install menu entries: mkdir -p $startdir/pkg/usr/share/applications mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp -a $startdir/src/*.desktop $startdir/pkg/usr/share/applications cp -a $startdir/src/*.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps }