#Maintainer: toothandnail #Former Maintainer: fushark #Former Maintainer(s): gmg pkgname=links pkgver=2.2 pkgrel=1 zenver=54 arch=i486 source=("http://links.twibright.com/download/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://users.zenwalk.org/user-accounts/paul/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "braille_howto" "keys" "sites") url="http://links.twibright.com" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "links (a lightweight web browser with text and graphical modes)" "Links is a fast, lightweight web browser with both a text and a" "graphical mode. It is capable of running on many different platforms." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-graphics \ --with-ssl \ --with-x \ --without-pmshell \ --without-atheos make || return 1 make install DESTDIR=$startdir/pkg #copy links_cal mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp -r $startdir/src/$pkgname-$pkgver/doc/links_cal $startdir/pkg/usr/doc/$pkgname-$pkgver #create desktop fle and put it in place mkdir -p $startdir/pkg/usr/share/applications cat << "EOF" >$startdir/pkg/usr/share/applications/links.desktop [Desktop Entry] Encoding=UTF-8 Name=Links Exec=links -g Comment=Lightweight graphical browser Terminal=false Type=Application Categories=Network; Icon=links EOF #create the icon mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps convert -resize "48x48" -depth 8 $startdir/src/$pkgname-$pkgver/graphics/links.xpm $startdir/pkg/usr/share/icons/hicolor/48x48/apps/links.png }