summaryrefslogblamecommitdiff
path: root/system/debianutils/APKBUILD
blob: efaed9cdb83b7fb14e4ac13038701b005e81e2b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                  
        




                                                       

                                                                      
          
                                         




                                                                                      

                                 











                                         




                                                        
                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=debianutils
pkgver=4.8.1.1
pkgrel=2
pkgdesc="Useful utilities from Debian"
url="https://packages.qa.debian.org/d/debianutils.html"
arch="all"
options="!check"  # No test suite.
license="BSD-3 GPL-2.0"
depends="coreutils mawk"  # awk, cat, and rm are required by add-shell
makedepends="grep"  # early package, declare these
install=""
subpackages="$pkgname-doc $pkgname-which"
source="http://ftp.debian.org/debian/pool/main/d/$pkgname/${pkgname}_${pkgver}.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

which() {
	mkdir -p "$subpkgdir"/usr/bin
	mv "$pkgdir"/usr/bin/which "$subpkgdir"/usr/bin/
}

sha512sums="22f27692a7d3847fad1be223d73e5575581db8621771e92e68fe91bd31e67084fd655fef857905be46ab3a45340503b0af9399b8fe28f221ea5cee4b49970821  debianutils_4.8.1.1.tar.xz"