Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: myra_nelson on May 28th, 2011  |  syntax: None  |  size: 0.72 KB  |  views: 82  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Hubert Czobodziński <hcz@onet.eu>
  2. # Contributor: Myra Nelson <myra.nelson@hughes.net>
  3. pkgname=gpdftext
  4. pkgver=0.1.4
  5. pkgrel=1
  6. pkgdesc="GTK+ text editor for ebook PDF files"
  7. arch=('i686' 'x86_64')
  8. url="http://gpdftext.sourceforge.net"
  9. license=('GPL3')
  10. depends=('gnome-doc-utils' 'poppler-glib' 'intltool')
  11. source=(http://downloads.sourceforge.net/project/gpdftext/$pkgver/$pkgname-$pkgver.tar.gz
  12.         pdf.c.patch)
  13. md5sums=('607e110f13080a5e1fa5c53d58bfc85d'
  14.          '5dd07bef2dd179bcdb199d68e983f320')
  15. build() {
  16.   cd "$srcdir/$pkgname-$pkgver/src"
  17.  
  18.   patch -uN pdf.c ../../pdf.c.patch
  19.  
  20.   cd "$srcdir/$pkgname-$pkgver"
  21.  
  22.   ./configure --prefix=/usr
  23.   make
  24.   make DESTDIR="$pkgdir/" install
  25. }