From 54b7119c36756b86ea463649ee972cd6c1ce5863 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Feb 2012 23:15:20 +0000 Subject: Wed Feb 8 23:15:20 UTC 2012 --- community/nload/PKGBUILD | 13 ++++++------ community/os-prober/PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++ community/swi-prolog/PKGBUILD | 6 +++--- 3 files changed, 57 insertions(+), 9 deletions(-) create mode 100644 community/os-prober/PKGBUILD (limited to 'community') diff --git a/community/nload/PKGBUILD b/community/nload/PKGBUILD index 2518e64ee..f8cd1d0b6 100644 --- a/community/nload/PKGBUILD +++ b/community/nload/PKGBUILD @@ -1,16 +1,17 @@ -# Maintainer: Sebastien Luttringer # Contributor: Andreas Hauser pkgname=nload -pkgver=0.7.3 -pkgrel=2 -pkgdesc='Console application which monitors network traffic and bandwidth usage in real time' +pkgver=0.7.4 +pkgrel=1 +pkgdesc='Monitors network traffic and bandwidth usage' url='http://www.roland-riegel.de/nload' license=('GPL2') -depends=('ncurses' 'gcc-libs') +depends=('ncurses') arch=('i686' 'x86_64') source=("$url/$pkgname-$pkgver.tar.gz") -md5sums=('9b97c37fe1474f1da42f265fead24081') +md5sums=('3c733c528f244ca5a4f76bf185729c39') build() { cd $pkgname-$pkgver diff --git a/community/os-prober/PKGBUILD b/community/os-prober/PKGBUILD new file mode 100644 index 000000000..26e4aaa4b --- /dev/null +++ b/community/os-prober/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 63931 2012-02-07 13:00:00Z tredaelli $ +# Maintainer: Timothy Redaelli +# Contributor: darkcoder + +pkgname=os-prober +pkgver=1.49 +pkgrel=3 +pkgdesc="Utility to detect other OSes on a set of drives" +url="http://joey.kitenet.net/code/os-prober/" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('sh') +source=(ftp://ftp.debian.org/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.gz) +md5sums=('5a981493a7c16174e6454fcf6b39b1b5') +sha512sums=('473f02807bdc971d6abf976f8a708691767ba85d45b54c1c87310c62626959f30e524aca2fb08843dfc859f26bd80cbbba016235137aa87db1c4151f6e893fa4') + +build() { + cd "$srcdir/$pkgname" + + # adjust lib dir to allow detection of 64-bit distros + sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro + + rm -f Makefile + make newns +} + +package() { + cd "$srcdir/$pkgname" + + install -Dm755 linux-boot-prober "$pkgdir"/usr/bin/linux-boot-prober + install -Dm755 os-prober "$pkgdir"/usr/bin/os-prober + install -Dm755 newns "$pkgdir"/usr/lib/os-prober/newns + install -Dm755 common.sh $pkgdir/usr/share/os-prober/common.sh + + for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do + install -dm755 "$pkgdir/usr/lib/$dir" + install -m755 -t "$pkgdir/usr/lib/$dir" "$dir"/common/* + [[ -d "$dir"/x86 ]] && install -m755 -t "$pkgdir/usr/lib/$dir" "$dir"/x86/* + done + + install -Dm755 os-probes/mounted/powerpc/20macosx $pkgdir/usr/lib/os-probes/mounted/20macosx + + # create a empty labels file, will be used by os-prober at execution + mkdir -p $pkgdir/var/lib/os-prober + touch $pkgdir/var/lib/os-prober/labels + chmod 644 $pkgdir/var/lib/os-prober/labels +} diff --git a/community/swi-prolog/PKGBUILD b/community/swi-prolog/PKGBUILD index 5a43c9910..78be5d783 100644 --- a/community/swi-prolog/PKGBUILD +++ b/community/swi-prolog/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: Juergen Hoetzel pkgname=swi-prolog -pkgver=5.10.5 -pkgrel=3 +pkgver=6.0.0 +pkgrel=1 pkgdesc='Prolog environment' arch=('i686' 'x86_64') url='http://www.swi-prolog.org/' @@ -18,7 +18,7 @@ optdepends=('unixodbc: for using the odbc4pl library' 'libxft: for using the pl2xpce library') options=('!makeflags') source=("http://www.swi-prolog.org/download/stable/src/pl-${pkgver}.tar.gz") -md5sums=('1ca45eddd3590fb525085761e75a4ebd') +md5sums=('5c09e6f37fe56bc843a8f3fcce380fb0') build() { cd pl-${pkgver} -- cgit v1.2.3-54-g00ecf