SHARE
TWEET

netrick PKGBUILD

a guest Nov 1st, 2011 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Sven Schulz <omee@archlinux.de>
  2. # Contributor: Christoph Zeiler <rabyte@gmail.com>
  3. # Contributor: Leslie P. Polzer <polzer@gnu.org>
  4.  
  5. pkgname=netrik
  6. pkgver=1.16.1
  7. pkgrel=2
  8. arch=('i686' 'x86_64')
  9. pkgdesc="netrik is an advanced text mode HTML (WWW) browser"
  10. url="http://netrik.sourceforge.net/"
  11. license=('GPL')
  12. depends=('readline')
  13. source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
  14. md5sums=('73e4603491d185b0580a8fad83518f42')
  15.  
  16. build() {
  17.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/render.c
  18.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/links.c
  19.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/pager.c
  20.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/parse-syntax.c
  21.       sed -i -e "s#<ncursesw/term.h>#<term.h>#g" $srcdir/$pkgname-$pkgver/render.c
  22.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/screen.c
  23.       sed -i -e "s#<ncursesw/term.h>#<term.h>#g" $srcdir/$pkgname-$pkgver/screen.c
  24.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/colors-dark.c
  25.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/colors-bright.c
  26.       sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" $srcdir/$pkgname-$pkgver/main.c
  27.       cd $startdir/src/$pkgname-$pkgver
  28.         ./configure
  29.       make || return 1
  30.       make prefix=$startdir/pkg/usr install
  31.     }
  32.  
  33.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top