summaryrefslogtreecommitdiffstats
path: root/lsb-release
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-05-17 12:04:10 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-05-17 12:04:10 +0200
commit545b0b7de32c86264d4ec1eb7b7610e4c1c85946 (patch)
tree9ad399ce5176aee3c98f216f54a12a3e6d5290c6 /lsb-release
parent8dc1d552c0bab7b72371c3a1529e365410c7548c (diff)
parentac57415603ea60e9af632e70827dffa22cfff584 (diff)
downloadaur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.gz
aur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.xz
Merge branch 'master' of git://git.server-speed.net/~flo/git/aur
Diffstat (limited to 'lsb-release')
-rw-r--r--lsb-release/PKGBUILD30
-rw-r--r--lsb-release/lsb-release.install7
-rw-r--r--lsb-release/mumble11x.desktop11
3 files changed, 31 insertions, 17 deletions
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 <malte@zearan.de>
# Contributor: John Gerritse <reaphsharc@gmail.com>
+
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