summaryrefslogtreecommitdiff
path: root/community/pinfo/PKGBUILD
blob: aa17ed56266176d06dbc4e010b1dfa2dd7e05ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 38757 2011-01-31 16:57:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>

pkgname=pinfo
pkgver=0.6.10
pkgrel=1
pkgdesc="A hypertext info file viewer"
arch=('i686' 'x86_64' 'mips64el')
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
  [ -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
}