summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3aa647ebc2b08085892cc36c656ad5d9dbc2b21a (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
# Maintainer: Nicola Revelant <nicolarevelant44@gmail.com>

pkgname=pinfo-git
pkgver=0.6.13.r8.g3d76eec
pkgrel=1
pkgdesc="A hypertext info file viewer"

arch=('x86_64')
url="https://github.com/baszoetekouw/pinfo"
license=('GPL')
depends=('ncurses' 'readline')
conflicts=('pinfo')
source=("$pkgname"::"git+https://github.com/baszoetekouw/pinfo.git")
sha256sums=('SKIP')

build() {
	cd "$pkgname"
	[ -x configure ] || ./autogen.sh
	[ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir" install
}