21 lines
730 B
Plaintext
21 lines
730 B
Plaintext
|
# Description: Provides informations about LSB status (Linux Standards Base) of the distribution.
|
||
|
# URL: http://www.linuxbase.org/
|
||
|
# Maintainer: Sven-Hendrik Haase
|
||
|
# Packager: geantbrun at gmail dot com
|
||
|
# Depends on: bash
|
||
|
|
||
|
name=lsb-release
|
||
|
version=1.4
|
||
|
release=1
|
||
|
source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd ${name}-${version}
|
||
|
sed -i "s|n/a|unavailable|" lsb_release
|
||
|
./help2man -N --include ./lsb_release.examples \
|
||
|
--alt_version_key=program_version ./lsb_release > lsb_release.1
|
||
|
mkdir -p $PKG/usr/{bin,share/man/man1}
|
||
|
install -v -m 644 lsb_release.1 $PKG/usr/share/man/man1/lsb_release.1
|
||
|
install -v -m 755 lsb_release $PKG/usr/bin/lsb_release
|
||
|
}
|