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


                                                  
        
                                     
                                         
                                  
                       
                          
                                                                            
                                

                      
            


                      
                                                                                       
 
                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ncompress
pkgver=4.2.4.4
pkgrel=1
pkgdesc="Fast, simple LZW compressor"
url="https://github.com/vapier/ncompress"
arch="all"
options="!check"  # No test suite.
license="Public-Domain"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/ncompress/ncompress-$pkgver.tar.gz
	fix-9bit-compress.patch"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -D -m755 "$builddir"/compress "$pkgdir"/usr/bin/compress
	install -D -m644 "$builddir"/compress.1 "$pkgdir"/usr/share/man/man1/compress.1
}

sha512sums="abc7bd96daaab0b83d5ca18ef4b8b4c6528632653a0882a4e0eda4fb3f99e23aae60ee30193e79104ea2ac8fb5816ac3b0bdebb08322db6bde6b8ef1639527be  ncompress-4.2.4.4.tar.gz
b2e897679234f391fa3cf4d5b55a3894424cca632a3b16303b0085e908808bc72b66e6a9df3e56e1a26eac79340c0901f7e6ef2378cc61b710e93194d345c2ea  fix-9bit-compress.patch"