diff options
author | root <root@rshg054.dnsready.net> | 2011-11-28 23:14:56 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-28 23:14:56 +0000 |
commit | 83c3c42a38bda36bdc56d594318958bc4cfd9b32 (patch) | |
tree | 7f61d219016bca3c90771ae5681a2ceeb149ed22 /libre/lsb-release-libre/PKGBUILD | |
parent | 495674534c45d86d3ad9149cdba75ca0bbbe1a0e (diff) |
Mon Nov 28 23:14:56 UTC 2011
Diffstat (limited to 'libre/lsb-release-libre/PKGBUILD')
-rw-r--r-- | libre/lsb-release-libre/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libre/lsb-release-libre/PKGBUILD b/libre/lsb-release-libre/PKGBUILD new file mode 100644 index 000000000..5eb411a97 --- /dev/null +++ b/libre/lsb-release-libre/PKGBUILD @@ -0,0 +1,34 @@ +# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> +# $Id: PKGBUILD 22635 2010-07-25 20:05:28Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Malte Rabenseifner <malte@zearan.de> +# Contributor: John Gerritse <reaphsharc@gmail.com> + +_pkgname=lsb-release +pkgname=lsb-release-libre +pkgver=1.4 +pkgrel=10 +pkgdesc="LSB version query program with Parabola name" +arch=('any') +url="http://www.linuxbase.org/" +license=('GPL2') +provides=('lsb-release') +conflicts=('lsb-release') +replaces=('lsb-release') +install=lsb-release.install +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=\"Parabola GNU/Linux-Libre\"" > "$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" +} |