summaryrefslogblamecommitdiff
path: root/system/ed/APKBUILD
blob: 6fb692b129399993160d969fb01abf5707ed5830 (plain) (tree)
1
2
3
4
5
                                      
          
           
        
                                             










                                                                 



                                 




                                       



                  


                                      
                                                                                                                                                             
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=ed
pkgver=1.19
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="594d5cf895931783110ee1956078f6a77aee022fb67730cbc6f1d30521c120b97820a5eb349278575f85c4c1e17fea0e16a3bc22592edae53c6fd27941ee3d7e  ed-1.19.tar.lz"