#Packager: George Vlahavas pkgname=lsb-release pkgver=12.0 pkgrel=1salix15.0 arch=noarch source=("lsb-release-$pkgver.tar.xz" "os-release") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://salsa.debian.org/gioele/lsb-release-minimal options=('noautodotnew' 'nosrcpack') doinst() { mv etc/os-release.new etc/os-release } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lsb-release (LSB version query program)" "This program forms part of the required functionality of the LSB" "(Linux Standard Base) specification. lsb-release queries the installed" "state of the distribution to display certain properties such as the" "version of the LSB against which the distribution claims compliance as" "well. It can also attempt to display the name and release of the" "distribution along with an identifier of who produces the" "distribution." ) build() { cd $startdir/src/$pkgname-$pkgver make || return 1 make install DESTDIR=$startdir/pkg # we're going to override the os-release file that comes from slackware # inside the aaa_base package. But we don't want the file to be removed # if the lsb-release package is removed. mkdir $startdir/pkg/etc cp $startdir/src/os-release $startdir/pkg/etc/os-release.new }