aboutsummaryrefslogblamecommitdiffstats
path: root/main/run-parts/APKBUILD
blob: 8095cdabe7afe089949994aaed745a7f852e91f2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                    
            
        
                                                
                                                       
          
                          
                          

                                                                                           
 
         


                                 

                               
            


           

                                                                            

                                                                           
 
                                                                                                                                                                       
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=run-parts
_pkgname=debianutils
pkgver=4.9.1
pkgrel=1
pkgdesc="run-parts from the debianutils package"
url="https://packages.qa.debian.org/d/debianutils.html"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--bindir=/bin
	make
}

package() {
	# Install binaries to /bin to overwrite busybox's run-parts version.
	install -D -m755 run-parts $pkgdir/bin/run-parts
	install -D -m644 run-parts.8 $pkgdir/usr/share/man/man8/run-parts.8
}

sha512sums="b442950febe6df9e15ec04a6fec0ee8be12d3eac38dc3f9331438d871e3382f4e0f599da0eaeff0e7e9ba0fa5136ce3c3b51c6718e4d7f11c1675f745052a9b1  debianutils_4.9.1.tar.xz"