milis/talimatname/temel-ek/lsb-release/talimat

21 lines
726 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# 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
2016-08-02 18:57:09 +02:00
# Depends on:
2016-02-24 01:27:23 +01:00
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
}