summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-26 12:55:16 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-26 12:55:16 -0200
commit9d4b7ae8a306cfd60544d50922813fb28e6c5446 (patch)
tree587fc8a540970dac496ebb39843dafedd58632f2 /libre
parent34cde685c0aa24a0c15a05674431774449924c74 (diff)
lsb-release-1.4-14: fix #37900 => https://bugs.archlinux.org/task/37900
Diffstat (limited to 'libre')
-rw-r--r--libre/lsb-release/PKGBUILD14
-rw-r--r--libre/lsb-release/lsb_release_description.patch11
2 files changed, 20 insertions, 5 deletions
diff --git a/libre/lsb-release/PKGBUILD b/libre/lsb-release/PKGBUILD
index 1d073c356..6f761a81f 100644
--- a/libre/lsb-release/PKGBUILD
+++ b/libre/lsb-release/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 79819 2012-11-13 13:12:30Z svenstaro $
+# $Id: PKGBUILD 101477 2013-11-26 10:23:04Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Malte Rabenseifner <malte@zearan.de>
# Contributor: John Gerritse <reaphsharc@gmail.com>
@@ -7,7 +7,7 @@
pkgname=lsb-release
pkgver=1.4
-pkgrel=13
+pkgrel=14
pkgdesc="LSB version query program (Parabola rebranded)"
arch=('any')
url="http://www.linuxbase.org/"
@@ -17,12 +17,16 @@ provides=('lsb-release-libre')
conflicts=('lsb-release-libre')
replaces=('lsb-release-libre')
install=lsb-release.install
-source=(http://downloads.sourceforge.net/lsb/$pkgname-$pkgver.tar.gz)
-md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4')
+source=(http://downloads.sourceforge.net/lsb/$pkgname-$pkgver.tar.gz
+ lsb_release_description.patch)
+md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4'
+ '72f562d8eaa8915ab85fba13e68c8d68')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -Np0 < "$srcdir/lsb_release_description.patch"
+
make
}
@@ -31,7 +35,7 @@ package() {
install -dm755 "$pkgdir/etc"
echo "LSB_VERSION=$pkgver" >> "$pkgdir/etc/lsb-release"
- echo "DISTRIB_ID=parabola" > "$pkgdir/etc/lsb-release"
+ echo "DISTRIB_ID=Parabola" > "$pkgdir/etc/lsb-release"
echo "DISTRIB_RELEASE=rolling" >> "$pkgdir/etc/lsb-release"
echo "DISTRIB_DESCRIPTION=\"Parabola GNU/Linux-libre\"" >> "$pkgdir/etc/lsb-release"
diff --git a/libre/lsb-release/lsb_release_description.patch b/libre/lsb-release/lsb_release_description.patch
new file mode 100644
index 000000000..d46835b97
--- /dev/null
+++ b/libre/lsb-release/lsb_release_description.patch
@@ -0,0 +1,11 @@
+--- lsb_release.orig 2012-11-13 05:12:02.000000000 -0800
++++ lsb_release 2013-11-24 17:13:55.943608718 -0800
+@@ -216,7 +216,7 @@
+ TMP_DISTRIB_DESC=$DISTRIB_DESCRIPTION
+ fi
+
+- if [ -z "$TMP_DISTRIB_DESC" ] # head or lsb-release init
++ if [ -z "$DISTRIB_DESCRIPTION" ] # head or lsb-release init
+ then # file contains no data
+ DISTRIB_DESCRIPTION=$MSG_NONE
+ NO="y"