summaryrefslogblamecommitdiff
path: root/system/diffutils/APKBUILD
blob: 0264d56eddfc8117eb3fdd64dec8646b73d2480e (plain) (tree)
1
2
3
4
5
6
7
8
                                      
                 
          
        
                                                        
                                             
          
                  


                                        
                                                                    
                                  
                                                      
                        
         
 
         




                                         
                                         



            



                  





                                                      

                                                                                                                                                                  

                                                                                                                                                                                
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=diffutils
pkgver=3.8
pkgrel=1
pkgdesc="Utility programs used for creating patch files"
url="https://www.gnu.org/software/diffutils/"
arch="all"
license="GPL-3.0+"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-lang"
source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
	disable-mbrtowc-test.patch
	gnulib-tests-dont-require-gpg-passphrase.patch
	musl-ppc32.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	make check
}

package() {
	make install DESTDIR=$pkgdir

	rm -rf "$pkgdir"/usr/lib/charset.alias
	rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
}

sha512sums="279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c  diffutils-3.8.tar.xz
079d04f48fa5f5fd57eca8ba9ddefcdbb9e42a26dba7ca9b0a6f3f391112aa5ce34f0a32a931432f0ef0cc3345cc97de8310660cd05df9b30c38609440a729ee  disable-mbrtowc-test.patch
d45ab939e70b8b6e80d8950a8436be81e34e1067741196229edc7fbe33db92aa14532cf7490379741e779ae2cfc6010bec22dda2b2a046a3bc9eb68b94a0ff11  gnulib-tests-dont-require-gpg-passphrase.patch
249b62b0d3b166507103860122460d8c042c12bbf4c7fe883e2d0e2b90bd9f2ba387f444908aa874c9a06db72aea3e7dccefa0033c663088a0be015aaa077a9c  musl-ppc32.patch"