aports/community/nedit/APKBUILD
Sertonix 0bcc050bf3 community/nedit: simplify and minor fixes
- Before only the doc/faq.txt was included in the doc package
- Let abuild handle stripping
- Include correct version in docs
- Build docs on riscv64 (simplifies some logic)
- Build everything with a single make call
2025-04-08 14:57:30 +00:00

39 lines
1.2 KiB
Text

# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=nedit
pkgver=5.7
pkgrel=2
pkgdesc="The Nirvana Editor, a multi-purpose X11 editor that's easy to use"
url="https://sourceforge.net/projects/nedit/"
arch="all"
license="GPL-2.0-or-later"
# perl for docs, bison and flex are used but may be optional
makedepends="
bison
flex
motif-dev
perl
"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-$pkgver-src.tar.gz
fix-build.patch
"
options="!check" # No tests
build() {
VERSION="NEdit $pkgver" make linux docs
}
package() {
install -Dm 0755 source/nedit "$pkgdir"/usr/bin/nedit
install -Dm 0755 source/nc "$pkgdir"/usr/bin/nedit-nc
install -Dm 0644 -t "$pkgdir"/usr/share/doc/nedit/ \
README COPYRIGHT ReleaseNotes doc/nedit.doc doc/nedit.html doc/faq.txt
}
sha512sums="
cf242d2f8eea4c78649dbeb741f545a3dc8ffaf5bb36239794a4b2635420e5445fa1c77472add79c05ec081d71a0b9df4431f48db365a71692e43869fd4e7932 nedit-5.7-src.tar.gz
5f1e23e38814b978d13f8932c0998e18f12ff7ad90d31d3754ca9588e871777f18a258941c146bf31654d6ad72a8e668964d06877fe9d69cbb52c2db80ff1187 fix-build.patch
"