summaryrefslogblamecommitdiff
path: root/user/ncompress/APKBUILD
blob: 2ed725ebf8593e8e9ef6465838e5cefee820ae33 (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.5
pkgrel=0
pkgdesc="Fast, simple LZW compressor"
url="https://github.com/vapier/ncompress"
arch="all"
options="!check"  # No test suite.
license="Public-Domain"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/ncompress/ncompress-$pkgver.tar.gz
	fix-9bit-compress.patch"

build() {
	make
}

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

sha512sums="487e8d5ca743c3aba19cf69f7ec62bdc0784e43af5737f06d6d4257f2f33899eb3d293ed049f57b3164e344a0fddc077bc73437564977bad8de45816354c8bf3  ncompress-4.2.4.5.tar.gz
b2e897679234f391fa3cf4d5b55a3894424cca632a3b16303b0085e908808bc72b66e6a9df3e56e1a26eac79340c0901f7e6ef2378cc61b710e93194d345c2ea  fix-9bit-compress.patch"