aboutsummaryrefslogtreecommitdiffstats
path: root/main/less/APKBUILD
blob: c214dbd2ebad310b564c0f418db706464ad56252 (plain) (blame)
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
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=581
pkgrel=1
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
arch="all"
license="GPL-3.0-or-later OR BSD-2-Clause"
options="!check"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.greenwoodsoftware.com/less/less-$pkgver.tar.gz
	0001-Shouldn-t-use-memcpy-to-copy-to-overlapping-range.patch"

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

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

sha512sums="
b2892c73fb6e8a5cb5d5c22280c653194d6a1667a7d65a4b972a76038818cce827f1d00f266d6222e65f93fecfe1760d30109e9d2cf1aa6872b476b49eecefd9  less-581.tar.gz
e22b694c0cc8bb2c660479410b413078c7d13ae325df93a295c03eb86c9afbb1a7c12687b031807a2dbb9123a3a6a3132e65a05e954f0f5fc77e8a6be568db2b  0001-Shouldn-t-use-memcpy-to-copy-to-overlapping-range.patch
"