aboutsummaryrefslogtreecommitdiffstats
path: root/main/less/APKBUILD
blob: 60fece7b2faa62259e4a1c9367a8f3457482588e (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
28
29
30
31
32
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=436
pkgrel=1
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="ncurses-dev"
install="$pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
	$install"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="817bf051953ad2dea825a1cdf460caa4  less-436.tar.gz
b84506d253e04db3c5af9016fead45a3  less.post-deinstall"