aports/main/ed/APKBUILD
2025-01-11 20:13:34 +00:00

34 lines
881 B
Text

# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=ed
pkgver=1.21
pkgrel=0
pkgdesc="Line-oriented text editor used to create, display, modify and otherwise manipulate text files"
url="https://www.gnu.org/software/ed/"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/ed/ed-$pkgver.tar.lz"
build() {
# bindir needs correspond with busybox location
./configure CC="${CC:-cc}" CFLAGS+="$CFLAGS" LDFLAGS="$LDFLAGS" \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--bindir=/bin \
--mandir=/usr/share/man
make all
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
ac65287dff9f85c22194c98d658a147eac65e1f192d1564cd940ef9b5317be46a48aaefa16f37ab45513568d28503f4da15bed7adfacf0dfa5c28492adceaac3 ed-1.21.tar.lz
"