summaryrefslogtreecommitdiff
path: root/testing/most/APKBUILD
blob: d5e9c879350a5b58d883a77cab105212ffaf207a (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
# Contributor:
# Maintainer:
pkgname=most
pkgver=5.0.0a
pkgrel=1
pkgdesc="A terminal pager similar to more and less"
url="ftp://space.mit.edu/pub/davis/most"
arch="all"
license="GPL2+"
depends=""
depends_dev=
makedepends="slang-dev ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure --prefix=/usr --sysconfdir=/etc
	make -j1 || return 1
}

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

md5sums="30f2131b67f61716f6fe1f65205da48b  most-5.0.0a.tar.gz"
sha256sums="17a16593da064ddd484f53157d54b83bcd98ea45ab1ed361eea64c4fae163a10  most-5.0.0a.tar.gz"
sha512sums="8487895d736ea19a7a635dc67c974104a0c469a88a74f8b757a0509b9dee4534fd70b966054624be71734ac7de9a9daa1efb56827ff176b9468ce5a0b1ed2349  most-5.0.0a.tar.gz"