mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 14:15:33 +08:00
add lsb-release
This commit is contained in:
parent
2c933a6383
commit
dee9187629
32
lsb-release/PKGBUILD
Normal file
32
lsb-release/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=lsb-release
|
||||
pkgver=1.4
|
||||
pkgrel=1
|
||||
pkgdesc="LSB version query program"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.linuxbase.org/"
|
||||
license=('GPL2')
|
||||
source=(http://downloads.sourceforge.net/lsb/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
install -dm755 "$pkgdir/etc"
|
||||
echo "DISTRIB_DESCRIPTION=\"Chakra Linux\"" > "$pkgdir/etc/lsb-release"
|
||||
|
||||
install -Dm 644 lsb_release.1.gz "$pkgdir/usr/share/man/man1/lsb_release.1.gz"
|
||||
install -Dm 755 lsb_release "$pkgdir/usr/bin/lsb_release"
|
||||
}
|
Loading…
Reference in New Issue
Block a user