From 5c97e1755c054a83b158961bf92c9a5df34eb344 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 20 Mar 2010 01:14:27 +0100 Subject: update Signed-off-by: Florian Pritz --- lsb-release/PKGBUILD | 30 +++++++++++++----------------- lsb-release/lsb-release.install | 7 +++++++ lsb-release/mumble11x.desktop | 11 +++++++++++ 3 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 lsb-release/lsb-release.install create mode 100644 lsb-release/mumble11x.desktop (limited to 'lsb-release') diff --git a/lsb-release/PKGBUILD b/lsb-release/PKGBUILD index f754db2..825ea57 100644 --- a/lsb-release/PKGBUILD +++ b/lsb-release/PKGBUILD @@ -1,29 +1,25 @@ -# This is an example PKGBUILD file. Use this as a start to creating your own, -# and remove these comments. For more information, see 'man PKGBUILD'. -# NOTE: Please fill out the license field for your package! If it is unknown, -# then please put 'unknown'. - +# Maintainer: Malte Rabenseifner # Contributor: John Gerritse + pkgname=lsb-release pkgver=1.4 -pkgrel=7 +pkgrel=8 pkgdesc="LSB version query program." -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://www.linuxbase.org/" license=('GPL2') -groups= -provides= -depends=('bash') -makedepends=('perl') +install=lsb-release.install source=(http://downloads.sourceforge.net/lsb/$pkgname-$pkgver.tar.gz) md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4') build() { - cd "$startdir/src/$pkgname-$pkgver" - mkdir $startdir/pkg/etc/ - echo DISTRIB_ID="arch" > "$startdir/pkg/etc/lsb-release" + cd "$srcdir/$pkgname-$pkgver" + make || return 1 - # make DESTDIR="$startdir/pkg" install - doesn't work, doeing it manually - install -D -m 644 lsb_release.1.gz $startdir/pkg/usr/share/man/man1/lsb_release.1.gz - install -D -m 755 lsb_release $startdir/pkg/usr/bin/lsb_release + + install -dm755 "$pkgdir/etc" || return 1 + echo "DISTRIB_DESCRIPTION=\"Arch Linux - A simple, lightweight linux distribution.\"" > "$pkgdir/etc/lsb-release" || return 1 + + install -Dm 644 lsb_release.1.gz "$pkgdir/usr/share/man/man1/lsb_release.1.gz" || return 1 + install -Dm 755 lsb_release "$pkgdir/usr/bin/lsb_release" || return 1 } diff --git a/lsb-release/lsb-release.install b/lsb-release/lsb-release.install new file mode 100644 index 0000000..a5ed0bd --- /dev/null +++ b/lsb-release/lsb-release.install @@ -0,0 +1,7 @@ +post_install() { + echo "Arch Linux release" >> /etc/arch-release +} + +pre_remove() { + sed -e "/Arch Linux release/d" -i /etc/arch-release +} diff --git a/lsb-release/mumble11x.desktop b/lsb-release/mumble11x.desktop new file mode 100644 index 0000000..5dba0d0 --- /dev/null +++ b/lsb-release/mumble11x.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Mumble (1.1.X compatible) +GenericName=Voice Chat +Comment=Voice chat program (compatible with Mumble 1.1.X) +Exec=mumble11x +Icon=mumble +Terminal=false +Type=Application +StartupNotify=false +Categories=Network;Chat;Qt; +Version=1.2.1 -- cgit v1.2.3-24-g4f1b