# Maintainer: Luis Henrique # Mandatory pkgname=elinks pkgver=0.11.7 pkgrel=1lm source=("http://elinks.or.cz/download/elinks-0.11.7.tar.bz2" "elinks.desktop") # Optional docs=("ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README SITES THANKS TODO") url="http://elinks.or.cz" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "elinks (ELinks - Full-Featured Text WWW Browser)" "ELinks is an advanced and well-established feature-rich text mode" "web (HTTP/FTP/..) browser. ELinks can render both frames and tables," "is highly customizable, and can be extended via Lua or Guile scripts." "It is very portable and runs on a variety of platforms." ) 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 \ --with-guile \ --enable-cgi \ --enable-nntp \ --enable-html-highlight \ --enable-gopher \ --enable-finger \ --enable-bittorrent \ --enable-88-colors \ --enable-256-colors \ --enable-exmode \ --without-x \ --build=$arch-slackware-linux make || return 1 make DESTDIR=$startdir/pkg install # Install XFCE helper mkdir -p $startdir/pkg/usr/share/xfce4/helpers cp -a $startdir/src/elinks.desktop $startdir/pkg/usr/share/xfce4/helpers # Remove locale.alias as it's part of glibc rm -f $startdir/pkg/usr/share/locale/locale.alias }