APKBUILD 751 Bytes
Newer Older
Cameron Banta's avatar
Cameron Banta committed
1 2 3
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
Natanael Copa's avatar
Natanael Copa committed
4
pkgver=436
Natanael Copa's avatar
Natanael Copa committed
5
pkgrel=0
Cameron Banta's avatar
Cameron Banta committed
6 7 8
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
license="GPL"
9
depends=
Cameron Banta's avatar
Cameron Banta committed
10
makedepends="ncurses-dev"
11
install="$pkgname.post-deinstall"
Cameron Banta's avatar
Cameron Banta committed
12
subpackages="$pkgname-doc"
13 14
source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
	$install"
Cameron Banta's avatar
Cameron Banta committed
15 16 17 18 19 20 21 22

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

package() {
	cd "$srcdir/$pkgname-$pkgver"
Cameron Banta's avatar
Cameron Banta committed
27 28 29
	make DESTDIR="$pkgdir" install
}

Natanael Copa's avatar
Natanael Copa committed
30
md5sums="817bf051953ad2dea825a1cdf460caa4  less-436.tar.gz
31
b84506d253e04db3c5af9016fead45a3  less.post-deinstall"