blob: 94c87895a83c3b14dec0a90d80fe2590353b5e32 (
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
26
27
|
# $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' 'mips64el')
url="http://pinfo.alioth.debian.org/"
license=('GPL')
depends=('ncurses' 'readline')
makedepends=('git')
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
}
|