summaryrefslogtreecommitdiff
path: root/libre/lsb-release
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /libre/lsb-release
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'libre/lsb-release')
-rw-r--r--libre/lsb-release/PKGBUILD44
-rw-r--r--libre/lsb-release/lsb-release.install14
-rw-r--r--libre/lsb-release/lsb_release_description.patch11
3 files changed, 0 insertions, 69 deletions
diff --git a/libre/lsb-release/PKGBUILD b/libre/lsb-release/PKGBUILD
deleted file mode 100644
index 6f761a81f..000000000
--- a/libre/lsb-release/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $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>
-# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
-# Contributor (Parabola): André Silva emulatorman@parabola.nu>
-
-pkgname=lsb-release
-pkgver=1.4
-pkgrel=14
-pkgdesc="LSB version query program (Parabola rebranded)"
-arch=('any')
-url="http://www.linuxbase.org/"
-license=('GPL2')
-depends=('bash')
-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
- lsb_release_description.patch)
-md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4'
- '72f562d8eaa8915ab85fba13e68c8d68')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -Np0 < "$srcdir/lsb_release_description.patch"
-
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- install -dm755 "$pkgdir/etc"
- echo "LSB_VERSION=$pkgver" >> "$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"
-
- 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"
-}
diff --git a/libre/lsb-release/lsb-release.install b/libre/lsb-release/lsb-release.install
deleted file mode 100644
index 62d404892..000000000
--- a/libre/lsb-release/lsb-release.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- rm -f /etc/arch-release
- echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
-}
-
-post_upgrade() {
- rm -f /etc/arch-release
- sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
- echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
-}
-
-pre_remove() {
- sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
-}
diff --git a/libre/lsb-release/lsb_release_description.patch b/libre/lsb-release/lsb_release_description.patch
deleted file mode 100644
index d46835b97..000000000
--- a/libre/lsb-release/lsb_release_description.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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"