summaryrefslogtreecommitdiff
path: root/system/ed/APKBUILD
blob: b22e1a6a80a4fa3339d15743a76c8519d46a85b1 (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
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=ed
pkgver=1.18
pkgrel=0
pkgdesc="GNU version of standard text editor"
url="https://www.gnu.org/software/ed/"
arch="all"
license="GPL-3.0+"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"

builddir=$srcdir/$pkgname-$pkgver

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

check() {
	make check
}

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

sha512sums="e5dac94697d63fb90cc17e3e653fa56309e9652cc25b2e98a0e21f1ed41e38c48bc33b5fc746275a59e702d1644d3af88f3d82598b482f7309f4e68aab783286  ed-1.18.tar.lz"