smlinux/base/pkgtools/smbuild

29 lines
712 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=pkgtools
version=14.2
build=3sml
homepage="https://slackware.uk/slackware/slackware-14.2/source/a/pkgtools/"
download="https://slackware.uk/slackware/slackware-14.2/source/a/pkgtools/"
desc="The Slackware package maintenance system, modified for SMLinux"
requires="tar grep gawk sed bash util-linux coreutils"
prepbuilddir() {
ARCH=noarch
mkandenterbuilddir
rm -rf $app-$version
}
build() {
# Install Slackware script manpages:
mkdir -p $pkg/usr/bin $pkg/usr/share/man/man8
cp $srcdir/manpages/* $pkg/usr/share/man/man8/
cp $srcdir/scripts/* $pkg/usr/bin/
chown root:root $pkg/usr/bin/*
chmod 755 $pkg/usr/bin/*
mkfinalpkg
}
sha512sums="
"