# Maintainer: PktSurf app=hostname version=3.22 build=1sml homepage="https://packages.debian.org/bullseye/hostname" desc="Hostname utility with extra features from Debian devs" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make install -Dm 755 hostname $pkg/usr/bin/hostname install -Dm 644 hostname.1 $pkg/usr/share/man/man1/hostname.1 ( cd $pkg/usr/bin for name in dnsdomainname domainname ypdomainname nisdomainname ; do ln -sf hostname $name done ) cp COPYRIGHT $pkgdocs/ mkfinalpkg } sha512sums=" f50deba511157e4df404402a6e599f6b59aa4f9393d3ee0100a01c73cc4d3c556a6863aea760d95a37b3780015c5da99c4c2eaee04ccc8ffaf816f2c9068730a hostname-3.22.tar.lz "