summaryrefslogblamecommitdiff
path: root/user/groff/APKBUILD
blob: f183b51a62c8cb3efed2cb115f80f2dafcfefb8f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    
             
             
        


                                                   
                  
          

                          
                                                                 

          









                                          



                  


                                                      


                                                 

 
                                                                                                                                                                  
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=groff
pkgver=1.22.4
pkgrel=1
pkgdesc="GNU troff text-formatting system"
url="https://www.gnu.org/software/groff/groff.html"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="perl texinfo"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

build () {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--without-x
	# work around parallel build issue
	make arch/misc && make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/lib/charset.alias
	rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true

	#1086
	rm -v "$pkgdir"/usr/share/man/man7/roff.7
}

sha512sums="1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d  groff-1.22.4.tar.gz"