summaryrefslogtreecommitdiffstats
path: root/extra/less/APKBUILD
blob: 0567914a5e871472cb40a159c747ba95fdfa292c (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
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=429
pkgrel=0
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
license="GPL"
depends="uclibc ncurses"
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
	make DESTDIR="$pkgdir" install
}

md5sums="206f2f13b9b0a35e45df660fcb6af31d  less-429.tar.gz
b84506d253e04db3c5af9016fead45a3  less.post-deinstall"