aboutsummaryrefslogblamecommitdiffstats
path: root/testing/quilt/APKBUILD
blob: 7d7078d61d0151eef9d7fb405f07f2a6e73ebbb0 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    
             
           
        
                                                                                                                     
                                                
             
                      
                                                 

                           


                     
                                
         
                                                                              

                                                                     

         



                                 

                                         


                



                  
           
                                         




                                                                                          
                                                                                                                                                                
# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer:
pkgname=quilt
pkgver=0.66
pkgrel=3
pkgdesc="Quilt allows you to easily manage large numbers of patches by keeping track of the changes each patch makes"
url="https://savannah.nongnu.org/projects/quilt"
arch="noarch"
license="GPL-2.0-only"
depends="bash bzip2 diffutils gawk gettext patch"
makedepends="lynx perl sed"
checkdepends="ed"
subpackages="
	$pkgname-doc
	$pkgname-lang
	$pkgname-bash-completion
	"
source="https://download.savannah.gnu.org/releases/quilt/quilt-$pkgver.tar.gz"
# Broken: "mv: can't rename 'patches/test.diff': Permission denied !"
options="!check"

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

check() {
	make check
}

package() {
	make BUILD_ROOT="$pkgdir" install

	mkdir -p "$pkgdir"/usr/share/bash-completion
	mv "$pkgdir"/etc/bash_completion.d "$pkgdir"/usr/share/bash-completion/completions
}

sha512sums="c2cb75c0937612e1e0da25b713acf629b6b5aacbd8254d8bd17220b63c7b8ca996cd9d0315a32d67d54a4a7dc01b212cdda33afaacf3db063da757f1973306f4  quilt-0.66.tar.gz"