diff options
Diffstat (limited to 'community/pinfo/PKGBUILD')
-rw-r--r-- | community/pinfo/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/pinfo/PKGBUILD b/community/pinfo/PKGBUILD new file mode 100644 index 000000000..d5ac06d0e --- /dev/null +++ b/community/pinfo/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 55275 2011-09-08 12:47:50Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> + +pkgname=pinfo +pkgver=0.6.10 +pkgrel=2 +pkgdesc="A hypertext info file viewer" +arch=('i686' 'x86_64') +url="http://pinfo.alioth.debian.org/" +license=('GPL') +depends=('ncurses' 'readline') +source=(https://alioth.debian.org/frs/download.php/3351/$pkgname-$pkgver.tar.bz2) +md5sums=('fe3d3da50371b1773dfe29bf870dbc5b') + +build() { + cd $srcdir/$pkgname-$pkgver + unset LDFLAGS + [ -x configure ] || ./autogen.sh + sed -i 's|nogroup|nobody|' src/pinforc.in src/utils.c + [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --enable-cursor \ + --mandir=/usr/share/man --infodir=/usr/share/info + make + make DESTDIR=$pkgdir install + rm -f $pkgdir/usr/share/info/dir +} |