aboutsummaryrefslogtreecommitdiffstats
path: root/main/less/APKBUILD
blob: 966e2e1998f6174da50806c4713edcffd66ab648 (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
33
34
35
36
37
38
39
40
41
42
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=475
pkgrel=0
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
arch="all"
license="GPL"
depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz"


prepare() {
	cd "$srcdir/$pkgname-$pkgver"
	chmod +x configure
}

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

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

md5sums="5c872ad6102575936d59d86da8243bdb  less-475.tar.gz"
sha256sums="4fd40ec18d8e69a18a7b1edf36a51fb0de77987ad75f2e875327d1f24c1de098  less-475.tar.gz"
sha512sums="1c4a144b3cd0c7914cd620e8a4d41fcc9e2aacfd1ee2a889958b4d76f19eb2df982d4d1cd6a4c0b5955a3c70b46347f8cecea1fea6695217c36018775c57b951  less-475.tar.gz"