summaryrefslogblamecommitdiff
path: root/system/less/APKBUILD
blob: 1ca0fec04695db366714c881984103171cde12bb (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                 




                                            
                                  


                                                                          
























                                                                                                                                                              
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=less
pkgver=530
pkgrel=0
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
arch="all"
license="BSD-2-Clause OR GPL-3.0+"
options="!check"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz"

prepare() {
	default_prepare

	cd "$builddir"
	chmod +x configure
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

sha512sums="8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10  less-530.tar.gz"