aboutsummaryrefslogtreecommitdiffstats
path: root/main/ed/APKBUILD
blob: 29740469dee37d7daf62f3185f98993e6dfc36dc (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
# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer:
pkgname=ed
pkgver=1.16
pkgrel=1
pkgdesc="GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files"
url="https://www.gnu.org/software/ed/"
arch="all"
license="GPL-3.0-only"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/ed/ed-$pkgver.tar.lz"


build() {
	# bindir needs correspond with busybox location
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--bindir=/bin \
		--mandir=/usr/share/man
	make all
}

check() {
	make check
}

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

sha512sums="1ca999edd7007c56bf9aa91436997a813e665910dda19a3307fa5b85adc05667eb120cb54cb6544b919f1c7f631baf3ee03079abe1171b875fb9653f535fa7bd  ed-1.16.tar.lz"