diff options
author | root <root@rshg054.dnsready.net> | 2012-02-18 23:15:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-18 23:15:35 +0000 |
commit | 1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch) | |
tree | 24f65718bdb292fc62194464db8bee1348c48ee5 /community | |
parent | b31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff) |
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'community')
46 files changed, 411 insertions, 182 deletions
diff --git a/community/alure/PKGBUILD b/community/alure/PKGBUILD index 2426a5ec7..0db666fa2 100644 --- a/community/alure/PKGBUILD +++ b/community/alure/PKGBUILD @@ -3,7 +3,7 @@ pkgname=alure pkgver=1.2 -pkgrel=1 +pkgrel=2 pkgdesc='Utility library to help manage common tasks with OpenAL applications.' arch=('i686' 'x86_64') url='http://kcat.strangesoft.net/alure.html' diff --git a/community/arch/PKGBUILD b/community/arch/PKGBUILD index 2be3a270a..a39bf7740 100644 --- a/community/arch/PKGBUILD +++ b/community/arch/PKGBUILD @@ -1,27 +1,29 @@ -# $Id: PKGBUILD 46342 2011-05-05 11:48:15Z spupykin $ -# Maintainer: Judd Vinet <jvinet@zeroflux.org> +# $Id: PKGBUILD 64633 2012-02-17 13:20:14Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Judd Vinet <jvinet@zeroflux.org> -pkgname='arch' +pkgname=arch pkgver=1.3.5 -pkgrel=8 -pkgdesc="a modern and remarkable revision control system" +pkgrel=9 +pkgdesc='A modern and remarkable revision control system.' arch=('i686' 'x86_64') license=('GPL') -url="http://regexps.srparish.net/www/#Gnu-arch" +url='http://regexps.srparish.net/www/#Gnu-arch' depends=('zlib' 'expat' 'krb5') options=('!makeflags') -source=(ftp://ftp.gnu.org/gnu/gnu-arch/tla-$pkgver.tar.gz) +source=("ftp://ftp.gnu.org/gnu/gnu-arch/tla-${pkgver}.tar.gz") md5sums=('db31ee89bc4788eef1eba1cee6c176ef') build() { - cd "${srcdir}/tla-$pkgver/src" - mkdir =build - cd =build - ../configure --prefix /usr + cd "${srcdir}/tla-${pkgver}" + + mkdir build + cd build + ../src/configure --prefix /usr make } package() { - cd "${srcdir}/tla-$pkgver/src/=build" + cd "${srcdir}/tla-${pkgver}/build" make prefix="${pkgdir}/usr" install } diff --git a/community/astromenace/PKGBUILD b/community/astromenace/PKGBUILD index 9c3e7849a..d161f50f7 100644 --- a/community/astromenace/PKGBUILD +++ b/community/astromenace/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 64740 2012-02-18 03:43:03Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Ivan Bobrov <ibobrik at gmail dot com> @@ -6,7 +6,7 @@ pkgname=astromenace pkgver=1.2.0 -pkgrel=4 +pkgrel=5 pkgdesc="Hardcore 3D space shooter with spaceship upgrade possibilities. English version" arch=('i686' 'x86_64') url="http://www.viewizard.com/astromenace/index_linux.php" diff --git a/community/axel/PKGBUILD b/community/axel/PKGBUILD index eddad131c..710a76841 100644 --- a/community/axel/PKGBUILD +++ b/community/axel/PKGBUILD @@ -1,24 +1,28 @@ -# $Id: PKGBUILD 17354 2010-05-23 20:25:08Z foutrelis $ -# Maintainer: Evangelos Foutras <foutrelis@gmail.com> +# $Id: PKGBUILD 64643 2012-02-17 13:30:17Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Roman G <drakosha@au.ru> pkgname=axel pkgver=2.4 -pkgrel=2 +pkgrel=3 pkgdesc="Download accelerator" arch=('i686' 'x86_64') url="http://axel.alioth.debian.org/" license=('GPL') depends=('glibc') source=(http://alioth.debian.org/frs/download.php/3015/$pkgname-$pkgver.tar.gz) -md5sums=('a2a762fce0c96781965c8f9786a3d09d') +sha256sums=('359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: diff --git a/community/box2d/PKGBUILD b/community/box2d/PKGBUILD index e0c5a3db5..6aadfb8d3 100644 --- a/community/box2d/PKGBUILD +++ b/community/box2d/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 55963 2011-09-27 03:30:57Z svenstaro $ +# $Id: PKGBUILD 64742 2012-02-18 03:45:38Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=box2d pkgver=2.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/" license=('zlib') diff --git a/community/bullet/PKGBUILD b/community/bullet/PKGBUILD index d847b6037..5d06ff88a 100644 --- a/community/bullet/PKGBUILD +++ b/community/bullet/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 55766 2011-09-19 23:58:08Z svenstaro $ +# $Id: PKGBUILD 64748 2012-02-18 03:50:45Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgbase=bullet pkgname=('bullet' 'bullet-docs') pkgver=2.79 -pkgrel=1 +pkgrel=2 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation" arch=('i686' 'x86_64') url="http://www.bulletphysics.com/Bullet/" diff --git a/community/calcurse/PKGBUILD b/community/calcurse/PKGBUILD index a3cae0512..428ab6e1a 100644 --- a/community/calcurse/PKGBUILD +++ b/community/calcurse/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 55277 2011-09-08 13:31:41Z lfleischer $ +# $Id: PKGBUILD 64641 2012-02-17 13:26:11Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Ronald van Haren <ronald.archlinux.org> # Contributor: wain <wain.at.gmx.net> pkgname=calcurse pkgver=2.9.2 -pkgrel=1 +pkgrel=2 pkgdesc='A text-based personal organizer.' arch=('i686' 'x86_64') url='http://calcurse.org/' diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD index 28043b9c1..ee4f05453 100644 --- a/community/calibre/PKGBUILD +++ b/community/calibre/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 64245 2012-02-11 01:11:17Z giovanni $ +# $Id: PKGBUILD 64659 2012-02-17 13:51:06Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Petrov Roman <nwhisper@gmail.com> # Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com> pkgname=calibre -pkgver=0.8.39 -pkgrel=2 +pkgver=0.8.40 +pkgrel=1 pkgdesc="Ebook management application" arch=('i686' 'x86_64') url="http://calibre-ebook.com/" @@ -21,7 +21,7 @@ install=calibre.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" 'desktop_integration.patch' 'calibre-mount-helper') -md5sums=('2d3c43b0ea53e43b817b6a66fceaf340' +md5sums=('257ee03ab199ac5ec493c7650c7a5f35' '253ce4fe5d01f8ff76b63cd3825755ea' '675cd87d41342119827ef706055491e7') diff --git a/community/celt/PKGBUILD b/community/celt/PKGBUILD index 5eb99975d..79e23644c 100644 --- a/community/celt/PKGBUILD +++ b/community/celt/PKGBUILD @@ -4,7 +4,7 @@ pkgname=celt pkgver=0.11.1 -pkgrel=1 +pkgrel=3 pkgdesc='Low-latency audio communication codec' arch=('i686' 'x86_64') url='http://www.celt-codec.org' diff --git a/community/chntpw/PKGBUILD b/community/chntpw/PKGBUILD index bbbc62e13..16c8f504c 100644 --- a/community/chntpw/PKGBUILD +++ b/community/chntpw/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 48999 2011-06-09 15:13:27Z lfleischer $ +# $Id: PKGBUILD 64647 2012-02-17 13:33:11Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=chntpw pkgver=110511 -pkgrel=1 -pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM userdatabase file' +pkgrel=2 +pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.' arch=('i686' 'x86_64') url='http://pogostick.net/~pnh/ntpasswd/' license=('GPL' 'LGPL') diff --git a/community/dnstracer/PKGBUILD b/community/dnstracer/PKGBUILD index 3964c47f3..be84c8a92 100644 --- a/community/dnstracer/PKGBUILD +++ b/community/dnstracer/PKGBUILD @@ -1,23 +1,24 @@ +# $Id: PKGBUILD 64665 2012-02-17 14:06:15Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=dnstracer pkgver=1.9 -pkgrel=3 +pkgrel=4 pkgdesc='Determines where a given DNS server gets its information from, and follows the chain of DNS servers' -arch=('i686' 'x86_64') url='http://www.mavetju.org/unix/dnstracer.php' -license=('BSD') -source=("http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz") +license=('custom:BSD') +arch=('i686' 'x86_64') +source=("http://www.mavetju.org/download/${pkgname}-${pkgver}.tar.gz") sha1sums=('b8c60b281c0eb309acd1b1551c51cccb951685c7') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - install -D LICENSE "$pkgdir"/usr/share/licenses/dnstracer/LICENSE + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/dnstracer/LICENSE } diff --git a/community/dvtm/PKGBUILD b/community/dvtm/PKGBUILD index 358b4251d..661a14d1e 100644 --- a/community/dvtm/PKGBUILD +++ b/community/dvtm/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 55178 2011-09-04 22:30:57Z lfleischer $ +# $Id: PKGBUILD 64667 2012-02-17 15:34:11Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Giorgio Lando <patroclo7@gmail.com> # Contributor: bender02 at gmx dot com pkgname=dvtm pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc='Dynamic virtual terminal manager.' arch=('i686' 'x86_64') url='http://www.brain-dump.org/projects/dvtm/' diff --git a/community/gmrun/PKGBUILD b/community/gmrun/PKGBUILD index d5d961018..ea5fd9c70 100644 --- a/community/gmrun/PKGBUILD +++ b/community/gmrun/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 8461 2010-01-20 08:07:38Z dgriffiths $ -# Maintainer: Jeff Mickey <j@codemac.net> +# Contributor: Jeff Mickey <j@codemac.net> # Contributor: Woody Gilk aka Shadowhand <woody.gilk@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=gmrun pkgver=0.9.2 -pkgrel=3 +pkgrel=4 pkgdesc="A simple program which provides a run program window" arch=('i686' 'x86_64') url="http://sf.net/projects/gmrun" @@ -16,9 +16,15 @@ md5sums=('6cef37a968006d9496fc56a7099c603c' '3a0b69d8c2cac6cfb551b9d235441ecb') build() { - cd $startdir/src/$pkgname-$pkgver - patch -p0 < $srcdir/gcc43.patch - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p0 -i "$srcdir/gcc43.patch" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install } diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD index 348db3561..3a687fe9b 100644 --- a/community/gnash/PKGBUILD +++ b/community/gnash/PKGBUILD @@ -1,49 +1,39 @@ -# $Id: PKGBUILD 82896 2010-06-18 18:30:20Z ibiru $ +# $Id: PKGBUILD 64706 2012-02-17 21:38:09Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgbase=gnash pkgname=(gnash-common gnash-gtk) -pkgver=0.8.9 -pkgrel=9 +pkgver=0.8.10 +pkgrel=1 arch=(i686 x86_64) url="http://www.gnu.org/software/gnash/" license=(GPL3) makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool - speex fontconfig libva ffmpeg libxinerama + speex fontconfig ffmpeg gstreamer0.10-base gstreamer0.10-ffmpeg - gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils + gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf pkgconfig boost) options=(!libtool !emptydirs) source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2 - gentoo-ffmpeg-0.8.patch xul8.patch nodebug.patch) -sha256sums=('f90dbdc6f03d787b239b9edacbea077b46d69ae9d85f08af23f256af389c48bd' - '5e6b9c2ccb0f6dda70745712dddf302d2b42895feda850f2ed126bf53d8815ca' - 'd484f1c21ef71847a2d4b3dd254d1fa93a58719d45bc9df8b8deabee388ce4e9' + nodebug.patch) +sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224' '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551') build() { cd "$srcdir/gnash-$pkgver" - # Consolidated gentoo patches for ffmpeg compatibility - # as of 2011-10-31 - patch -Np1 -i "$srcdir/gentoo-ffmpeg-0.8.patch" - - # Patch for compatibility with newer xulrunner headers - patch -Np1 -i "$srcdir/xul8.patch" - # Disable very, very verbose debugging (gigabytes of logs) patch -Np1 -i "$srcdir/nodebug.patch" - ./autogen.sh ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --with-plugins-install=system \ --with-npapi-plugindir=/usr/lib/mozilla/plugins \ - --enable-gui=sdl,gtk \ - --enable-renderer=agg \ + --enable-gui=sdl,gtk,dump \ --enable-media=gst,ffmpeg \ - --enable-hwaccel=vaapi + --enable-renderer=agg,cairo \ + --enable-device=x11 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool @@ -52,38 +42,40 @@ build() { package_gnash-common() { pkgdesc="A GNU Flash movie player" - depends=(curl giflib libldap sdl agg libjpeg libpng libtool - speex fontconfig libva ffmpeg libxinerama + depends=(curl giflib sdl agg libjpeg libpng libltdl + speex fontconfig ffmpeg cairo gstreamer0.10-base gstreamer0.10-ffmpeg boost-libs) - backup=(etc/gnashrc) + backup=(etc/gnashrc etc/gnashthumbnailrc) cd "$srcdir/gnash-$pkgver" - make DESTDIR="$pkgdir" install + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install # Split gnash-gtk - mkdir -p "$srcdir"/gtk/{bin,man1,share} - mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} "$srcdir/gtk/bin/" - mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 "$srcdir/gtk/man1/" - mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/share/" - mv "$pkgdir/etc/gnashpluginrc" "$srcdir/gtk/" + mkdir -p "$srcdir"/gtk/{etc,usr/{bin,share/man/man1}} + mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} \ + "$srcdir/gtk/usr/bin/" + mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 \ + "$srcdir/gtk/usr/share/man/man1/" + mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/usr/share/" + mv "$pkgdir"/etc/gnashpluginrc "$srcdir/gtk/etc/" } package_gnash-gtk() { pkgdesc="A GNU Flash movie player" depends=("gnash-common=$pkgver" - gtk2 libldap hicolor-icon-theme desktop-file-utils) + gtk2 libldap hicolor-icon-theme desktop-file-utils gconf) install=gnash-gtk.install backup=(etc/gnashpluginrc) + mv "$srcdir"/gtk/* "$pkgdir" + cd "$srcdir/gnash-$pkgver" - make DESTDIR="$pkgdir" install-plugin - install -d "$pkgdir"/{etc,usr/{bin,share/man/man1}} - mv "$srcdir"/gtk/bin/* "$pkgdir/usr/bin/" - mv "$srcdir"/gtk/man1/* "$pkgdir/usr/share/man/man1/" - mv "$srcdir"/gtk/share/* "$pkgdir/usr/share/" - mv "$srcdir/gtk/gnashpluginrc" "$pkgdir/etc/" + install -m755 -d "$pkgdir/usr/share/gconf/schemas" + gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \ + "$pkgdir"/usr/share/applications/*.schemas + rm -f "$pkgdir"/usr/share/applications/*.schemas } diff --git a/community/gnash/gnash-gtk.install b/community/gnash/gnash-gtk.install index c317fbaca..6678a7f8a 100644 --- a/community/gnash/gnash-gtk.install +++ b/community/gnash/gnash-gtk.install @@ -1,12 +1,22 @@ post_install() { + gconfpkg --install gnash update-desktop-database -q gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } +pre_upgrade() { + pre_remove +} + post_upgrade() { post_install } +pre_remove() { + gconfpkg --uninstall gnash +} + post_remove() { - post_install + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } diff --git a/community/hawknl/PKGBUILD b/community/hawknl/PKGBUILD index ab40d900f..f10df654a 100644 --- a/community/hawknl/PKGBUILD +++ b/community/hawknl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 27661 2010-09-26 18:25:05Z svenstaro $ +# $Id: PKGBUILD 64750 2012-02-18 03:56:17Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Anton Bazhenov <anton.bazhenov at gmail> # Contributor: Drew Desai <alerante@yahoo.com> @@ -6,7 +6,7 @@ pkgname=hawknl pkgver=1.68 -pkgrel=2 +pkgrel=3 pkgdesc="An open source game oriented network API" arch=('i686' 'x86_64') url="http://www.hawksoft.com/hawknl/" @@ -19,12 +19,18 @@ md5sums=('2e4971d422b8c5cadfe2a85527ff2fcf' build() { cd "$srcdir"/$pkgname$pkgver - patch -Np0 -i ../$pkgname.patch || return 1 - make -f makefile.linux || return 1 + + patch -Np0 -i ../$pkgname.patch + make -f makefile.linux install -m755 -d "$pkgdir"/usr/{lib,include} +} + +package() { + cd "$srcdir"/$pkgname$pkgver + make -f makefile.linux \ LIBDIR="$pkgdir"/usr/lib \ INCDIR="$pkgdir"/usr/include \ OPTFLAGS="-D_GNU_SOURCE -D_REENTRANT" \ - install || return 1 + install } diff --git a/community/libnoise/PKGBUILD b/community/libnoise/PKGBUILD index 6a7e56ee5..6c863acf9 100644 --- a/community/libnoise/PKGBUILD +++ b/community/libnoise/PKGBUILD @@ -1,8 +1,9 @@ +# $Id: PKGBUILD 64752 2012-02-18 03:57:07Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: jimmy-6 pkgname=libnoise pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="A portable, open-source, coherent noise-generating library for C++" arch=('i686' 'x86_64') url="http://libnoise.sourceforge.net/" diff --git a/community/liboping/PKGBUILD b/community/liboping/PKGBUILD index f4c9acae2..3e982e04b 100644 --- a/community/liboping/PKGBUILD +++ b/community/liboping/PKGBUILD @@ -1,7 +1,8 @@ +# $Id: PKGBUILD 64661 2012-02-17 14:00:22Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=liboping -pkgver=1.6.1 +pkgver=1.6.2 pkgrel=1 pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"' url='http://verplant.org/liboping/' @@ -12,13 +13,13 @@ depends=('libcap') makedepends=('ncurses') optdepends=('perl: perl bindings' 'ncurses: noping CLI tool') -source=("${url}files/$pkgname-$pkgver.tar.gz") -sha1sums=('8203096fa932d157069be7aeda3a1025132e129f') +source=("${url}files/${pkgname}-${pkgver}.tar.gz") +sha256sums=('1b3203e5f13b35a6f7ff163c26e4f42284a625fa30d3bdbfdafb6cccb1f33803') install=install build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" # setting capabilities/setuid is futile in fakeroot # (we do that in the install script) @@ -29,6 +30,6 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/community/librsync/PKGBUILD b/community/librsync/PKGBUILD index d0fd33cf3..5674db504 100644 --- a/community/librsync/PKGBUILD +++ b/community/librsync/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 11387 2010-02-10 04:50:34Z foutrelis $ -# Maintainer: Evangelos Foutras <foutrelis@gmail.com> +# $Id: PKGBUILD 64645 2012-02-17 13:31:34Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> # Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net> pkgname=librsync pkgver=0.9.7 -pkgrel=5 +pkgrel=6 pkgdesc="A free software library that implements the rsync remote-delta algorithm (rdiff)" arch=('i686' 'x86_64') url="http://librsync.sourceforge.net/" @@ -14,22 +14,22 @@ depends=('popt' 'zlib' 'bzip2') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/librsync/$pkgname-$pkgver.tar.gz lfs-overflow.patch) -md5sums=('24cdb6b78f45e0e83766903fd4f6bc84' - 'e18536482c0a32e7004c46eac6a53b2d') +sha256sums=('6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6' + 'bda94f0aa550498673a459326656798b9f327c8687fa924415cf7b08e8fd2f38') build() { cd "$srcdir/$pkgname-$pkgver" # Patch for large files (https://bugzilla.redhat.com/show_bug.cgi?id=207940) - patch -Np1 -i "$srcdir/lfs-overflow.patch" || return 1 + patch -Np1 -i "$srcdir/lfs-overflow.patch" ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared - make || return 1 + make } package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: diff --git a/community/lxnm/PKGBUILD b/community/lxnm/PKGBUILD index 8543678e2..6561411fe 100644 --- a/community/lxnm/PKGBUILD +++ b/community/lxnm/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 25483 2010-09-05 12:15:12Z bluewind $ +# $Id: PKGBUILD 64694 2012-02-17 18:44:05Z bluewind $ # Maintainer: Florian Pritz <flo@xinu.at> # Contributor: Cainã Costa <cainan.costa@gmail.com> pkgname=lxnm pkgver=0.2.2 -pkgrel=2 +pkgrel=3 pkgdesc="A Network Manager (Part of LXDE)" arch=('i686' 'x86_64') license=('GPL2') @@ -13,13 +13,13 @@ depends=('glib2') source=("http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz") build() { - cd "${startdir}/src/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { - cd "${startdir}/src/${pkgname}-${pkgver}" - make DESTDIR=$pkgdir/ install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install } md5sums=('2ee64e5fad4a27a522f1eb2da08dd46a') diff --git a/community/ngspice/PKGBUILD b/community/ngspice/PKGBUILD index 80a989034..4a8fc2ecc 100644 --- a/community/ngspice/PKGBUILD +++ b/community/ngspice/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 64464 2012-02-14 05:45:33Z kkeen $ +# $Id: PKGBUILD 64619 2012-02-17 10:58:48Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Abhishek Dasgupta <abhidg@gmail.com> # Contributor: Jason Taylor <jftaylor21@gmail.com> pkgname=ngspice pkgver=24 -pkgrel=1 +pkgrel=2 pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.' url='http://ngspice.sourceforge.net' license=('BSD') arch=('i686' 'x86_64') -depends=('libxaw' 'libedit') +depends=('libxaw' 'libedit' 'gcc-libs') source=("http://downloads.sourceforge.net/$pkgname/$pkgver/ngspice-$pkgver.tar.gz") sha1sums=('a6bb0e65c1c07d48f1d3e4df44fc17f6262952eb') @@ -20,7 +20,8 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-xspice \ - --with-editline=yes + --with-editline=yes \ + --enable-openmp make } diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index ec3def46c..201ae5471 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,3 +1,4 @@ +# $Id: PKGBUILD 64710 2012-02-18 00:19:36Z tdziedzic $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> # Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > @@ -6,7 +7,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.6.10 +pkgver=0.6.11 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -17,7 +18,7 @@ checkdepends=('curl') # curl used for check() optdepends=('openssl: TLS support') options=('!emptydirs') source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz") -md5sums=('8a74fd5d48c2c7c64abc60b2b8f3fbc7') +md5sums=('2f554353e831b8a22e6a85c676374374') build() { cd node-v${pkgver} diff --git a/community/obconf/PKGBUILD b/community/obconf/PKGBUILD index b1c34b3d1..f6b1793c5 100644 --- a/community/obconf/PKGBUILD +++ b/community/obconf/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 54809 2011-08-26 11:01:00Z andrea $ +# $Id: PKGBUILD 64692 2012-02-17 18:43:19Z bluewind $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Kieslich <tobias@archlinux.org> @@ -6,7 +6,7 @@ pkgname=obconf pkgver=2.0.3.git20100309 -pkgrel=2 +pkgrel=3 pkgdesc="A GTK2 based configuration tool for the Openbox windowmanager" arch=('i686' 'x86_64') url="http://openbox.org/wiki/ObConf:About" diff --git a/community/ois/PKGBUILD b/community/ois/PKGBUILD index 9ba2d73e2..f7de157c3 100644 --- a/community/ois/PKGBUILD +++ b/community/ois/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 38882 2011-02-02 21:19:53Z svenstaro $ +# $Id: PKGBUILD 64772 2012-02-18 04:26:52Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: scippio <scippio@berounet.cz> pkgname=ois pkgver=1.3 -pkgrel=1 +_oisver=${pkgver/./-} +pkgrel=2 pkgdesc="Object Oriented Input System" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/wgois" -license=('zlib/libpng') +license=('custom:zlib/libpng') makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw') -source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${pkgver/./-}.tar.gz") +source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz") md5sums=('9697fead17eac6025151cd2e1fca1518') build() { - cd ${srcdir}/${pkgname}-v${pkgver/./-} + cd ${srcdir}/${pkgname}-v${_oisver} chmod +x bootstrap ./bootstrap ./configure --prefix=/usr @@ -21,6 +22,6 @@ build() { } package() { - cd ${srcdir}/${pkgname}-v${pkgver/./-} + cd ${srcdir}/${pkgname}-v${_oisver} make DESTDIR=${pkgdir} install } diff --git a/community/openarena/PKGBUILD b/community/openarena/PKGBUILD index 128c30cba..707848e5d 100644 --- a/community/openarena/PKGBUILD +++ b/community/openarena/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 60611 2011-12-14 23:55:11Z svenstaro $ +# $Id: PKGBUILD 64715 2012-02-18 02:34:57Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=openarena -pkgver=0.8.5 +pkgver=0.8.8 _oldver=0.8.1 -pkgrel=4 +pkgrel=1 pkgdesc="A violent, sexy, multiplayer first person shooter based on the ioquake3 engine" arch=('i686' 'x86_64') url="http://openarena.ws/" @@ -16,6 +16,7 @@ makedepends=('openal' 'mesa') optdepends=('openal') source=(http://download.tuxfamily.org/$pkgname/rel/081/oa081.zip http://download.tuxfamily.org/$pkgname/rel/085/oa085p.zip + http://178.63.102.135/svens_stuff/oa088p.zip $url/svn/source/081/$pkgname-engine-$_oldver-1.tar.bz2 $pkgname.png $pkgname-server.png @@ -24,6 +25,7 @@ source=(http://download.tuxfamily.org/$pkgname/rel/081/oa081.zip strcpy-memmove.patch) md5sums=('49006bcb02b4e8ea3d06749e8f4e4887' 'b2a0437da751cd50dd2351ed9e0c4e9d' + '45da37955eba40cfd0e6e0f89cbb4b61' '4ee696eacc4b0350f9dbb5588dcd74a2' 'c69f824dc500d436fc631b78b6a62dc8' '17e2f4fa060ed97ff6fe1eaff647bcfb' @@ -32,10 +34,6 @@ md5sums=('49006bcb02b4e8ea3d06749e8f4e4887' '723ec16d949f454588d62da499bbefca') build() { - # uncomment to disable semi-nude models: - # rm -f $pkgname-$_oldver/baseoa/pak2-players-mature.pk3 - # (resulting version won't work with most servers!!) - cd $srcdir/$pkgname-engine-$_oldver patch -Np0 < $srcdir/strcpy-memmove.patch diff --git a/community/openlierox/PKGBUILD b/community/openlierox/PKGBUILD index f0ece7215..8aa85dfa6 100644 --- a/community/openlierox/PKGBUILD +++ b/community/openlierox/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 46134 2011-05-04 07:37:58Z andrea $ +# $Id: PKGBUILD 64779 2012-02-18 04:37:35Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Anton Bazhenov <anton.bazhenov at gmail> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=openlierox pkgver=0.58_rc3 -pkgrel=3 +pkgrel=4 pkgdesc="A real-time excessive Worms-clone" arch=('i686' 'x86_64') url="http://www.openlierox.net/" @@ -24,6 +24,9 @@ build() { sed -i '1i #include <sys/stat.h>' src/breakpad/external/src/common/linux/file_id.cc sed -i 's|/usr/share/games|/usr/share|g' include/FindFile.h + sed -i '/curl\/types\.h/d' include/HTTP.h + sed -i '/curl\/types\.h/d' src/common/HTTP.cpp + [[ -d build ]] && rm -r build mkdir build cmake -DCMAKE_BUILD_TYPE=Release \ @@ -31,6 +34,7 @@ build() { -DSYSTEM_DATA_DIR=/usr/share \ -DHAWKNL_BUILTIN=OFF \ -DBREAKPAD=OFF + make } diff --git a/community/pam_mysql/PKGBUILD b/community/pam_mysql/PKGBUILD index 6d46854a7..ebd070a28 100644 --- a/community/pam_mysql/PKGBUILD +++ b/community/pam_mysql/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 44499 2011-04-07 20:43:51Z svenstaro $ +# $Id: PKGBUILD 64780 2012-02-18 04:39:54Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arjan Timmerman<arjan@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=pam_mysql pkgver=0.7RC1 -pkgrel=4 +pkgrel=5 pkgdesc="A PAM module to authenticate users against mysql." arch=(i686 x86_64) license=('GPL') diff --git a/community/php-memcache/PKGBUILD b/community/php-memcache/PKGBUILD index 050930166..b553f283e 100644 --- a/community/php-memcache/PKGBUILD +++ b/community/php-memcache/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 44760 2011-04-11 15:50:58Z foutrelis $ -# Maintainer: Evangelos Foutras <foutrelis@gmail.com> +# $Id: PKGBUILD 64649 2012-02-17 13:33:44Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> pkgname=php-memcache pkgver=3.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="Memcache module for PHP" arch=('i686' 'x86_64') url="http://pecl.php.net/package/memcache" @@ -12,7 +12,7 @@ depends=('php') backup=('etc/php/conf.d/memcache.ini') install=php-memcache.install source=(http://pecl.php.net/get/memcache-$pkgver.tgz) -md5sums=('23c2a1548f3fc7658b98b1c60e6d83b1') +sha256sums=('cf6871f0944ee38022c5f84910f306d83b0f51564bbc08624a215e06d8486618') build() { cd "$srcdir/memcache-$pkgver" diff --git a/community/premake/PKGBUILD b/community/premake/PKGBUILD index a239b435d..2281aa188 100644 --- a/community/premake/PKGBUILD +++ b/community/premake/PKGBUILD @@ -1,10 +1,11 @@ +# $Id: PKGBUILD 64782 2012-02-18 04:43:05Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: revel <revelΘmuub·net> # Contributor: Marcos J. S. Magalhaes <mjsmagalhaes ^dot^ insc _at_ gmail ~dot~ com> pkgname=premake pkgver=4.3 -pkgrel=1 +pkgrel=2 pkgdesc="A simple build configuration and project generation tool using lua" arch=('i686' 'x86_64') url="http://industriousone.com/premake" @@ -20,6 +21,5 @@ build() { } package() { - install -dm755 ${pkgdir}/usr/bin - install -m755 $srcdir/premake-$pkgver/bin/release/premake4 ${pkgdir}/usr/bin + install -Dm755 $srcdir/premake-$pkgver/bin/release/premake4 ${pkgdir}/usr/bin } diff --git a/community/premake3/PKGBUILD b/community/premake3/PKGBUILD index ef6e87f4d..12820716c 100644 --- a/community/premake3/PKGBUILD +++ b/community/premake3/PKGBUILD @@ -1,3 +1,4 @@ +# $Id: PKGBUILD 64785 2012-02-18 04:46:23Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Anders Bergh <anders1@gmail.com> # Contributor: Mildred <silkensedai@online.fr> @@ -5,7 +6,7 @@ pkgname=premake3 pkgver=3.7 -pkgrel=1 +pkgrel=2 pkgdesc="A simple build configuration and project generation tool using lua" arch=('i686' 'x86_64') url="http://premake.sourceforge.net" diff --git a/community/r8168-lts/PKGBUILD b/community/r8168-lts/PKGBUILD index 6d33bf9d2..1ccd5dd36 100644 --- a/community/r8168-lts/PKGBUILD +++ b/community/r8168-lts/PKGBUILD @@ -1,10 +1,10 @@ -# $Id$ +# $Id: PKGBUILD 64671 2012-02-17 16:46:25Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=r8168-lts _pkgname=r8168 pkgver=8.028.00 -pkgrel=1 +pkgrel=2 pkgdesc="A kernel module for Realtek 8168 network cards for kernel26-lts" url="http://www.realtek.com.tw" license=("GPL") diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index 1d6f2f102..5a59eca78 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 62009 2012-01-14 09:42:42Z spupykin $ +# $Id: PKGBUILD 64617 2012-02-17 07:14:41Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> # Contributor: nofxx <x@<nick>.com> pkgname=redis -pkgver=2.4.6 +pkgver=2.4.7 pkgrel=1 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ backup=("etc/redis.conf" source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "redis.d" "redis.logrotate") -md5sums=('41d394074bcde762872ecb5506f35aee' +md5sums=('6afffb6120724183e40f1cac324ac71c' '9726d06d0a0c60cb5d55a31b3dc1e55d' '9e2d75b7a9dc421122d673fe520ef17f') diff --git a/community/siege/PKGBUILD b/community/siege/PKGBUILD index 3910b7133..9b2aebaff 100644 --- a/community/siege/PKGBUILD +++ b/community/siege/PKGBUILD @@ -1,17 +1,17 @@ -# $Id$ +# $Id: PKGBUILD 64675 2012-02-17 18:24:25Z bluewind $ # Maintainer: Florian Pritz <flo@xinu.at> # Contributor: Sven Kauber <celeon@gmail.com> pkgname=siege pkgver=2.70 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') license=('GPL') pkgdesc="An http regression testing and benchmarking utility" url="http://www.joedog.org/JoeDog/Siege" depends=('openssl') options=(!libtool) -source=("ftp://sid.joedog.org/pub/siege/${pkgname}-${pkgver}.tar.gz") +source=("http://www.joedog.org/pub/siege/siege-${pkgver}.tar.gz") backup=(etc/siegerc etc/urls.txt) build() { diff --git a/community/soil/PKGBUILD b/community/soil/PKGBUILD index ce0fae6b5..b394d93aa 100644 --- a/community/soil/PKGBUILD +++ b/community/soil/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 21193 2010-07-15 00:17:24Z svenstaro $ +# $Id: PKGBUILD 64769 2012-02-18 04:26:01Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=soil pkgver=0708 -pkgrel=1 +pkgrel=2 pkgdesc="tiny C lib primarily for loading textures into OpenGL" arch=('i686' 'x86_64') url="http://www.lonesock.net/soil.html" -license=('public') +license=('custom:public') makedepends=('unzip') depends=('freeglut') #options=('!libtool') diff --git a/community/spectrwm/LICENSE b/community/spectrwm/LICENSE new file mode 100644 index 000000000..24c04f3a0 --- /dev/null +++ b/community/spectrwm/LICENSE @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2009 Marco Peereboom <marco@peereboom.us> + * Copyright (c) 2009 Ryan McBride <mcbride@countersiege.com> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +/* + * Much code and ideas taken from dwm under the following license: + * MIT/X Consortium License + * + * 2006-2008 Anselm R Garbe <garbeam at gmail dot com> + * 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com> + * 2006-2007 Jukka Salmi <jukka at salmi dot ch> + * 2007 Premysl Hruby <dfenze at gmail dot com> + * 2007 Szabolcs Nagy <nszabolcs at gmail dot com> + * 2007 Christof Musik <christof at sendfax dot de> + * 2007-2008 Enno Gottox Boland <gottox at s01 dot de> + * 2007-2008 Peter Hartlich <sgkkr at hartlich dot com> + * 2008 Martin Hurton <martin dot hurton at gmail dot com> + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ diff --git a/community/spectrwm/PKGBUILD b/community/spectrwm/PKGBUILD new file mode 100644 index 000000000..0c19df98a --- /dev/null +++ b/community/spectrwm/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 64758 2012-02-18 04:02:43Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> + +pkgname=spectrwm +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A minimalistic dynamic tiling window manager that tries to stay out of the way." +arch=('i686' 'x86_64') +url="http://www.spectrwm.org" +license=('custom:ISC') +depends=('dmenu' 'libxrandr' 'libxtst' 'profont') +replaces=('scrotwm') +makedepends=('libxt') +optdepends=('scrot: screenshots' 'xlockmore: screenlocking' 'terminus-font: great font') +backup=(etc/spectrwm.conf) +source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \ + LICENSE \ + baraction.sh) +md5sums=('8dd279f53f998c0543fa1ce35a9b4a13' + 'a67cfe51079481e5b0eab1ad371379e3' + '950d663692e1da56e0ac864c6c3ed80e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # it is like a patch, only less fragile + sed -i 's|\"/usr/local/lib/libswmhack.so\"|\"libswmhack.so\"|' spectrwm.c + sed -i 's/verbose_layout = 0;/verbose_layout = 1;/' spectrwm.c + sed -i 's/# modkey = Mod1/modkey = Mod4/' spectrwm.conf + sed -i 's/-\*-terminus-medium-\*-\*-\*-\*-\*-\*-\*-\*-\*-\*-\*/-*-profont-*-*-*-*-12-*-*-*-*-*-*-*/' spectrwm.conf + + cd linux + make PREFIX="/usr" +} + +package() { + cd "$srcdir/$pkgname-$pkgver/linux" + make PREFIX="/usr" DESTDIR="$pkgdir" install + install -Dm644 spectrwm.desktop "$pkgdir/usr/share/xsessions/spectrwm.desktop" + cd .. + install -Dm644 spectrwm.conf "$pkgdir/etc/spectrwm.conf" + install -Dm755 screenshot.sh "$pkgdir/usr/share/spectrwm/screenshot.sh" + cd "$srcdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 baraction.sh "$pkgdir/usr/share/spectrwm/baraction.sh" + + ln -s /usr/lib/libswmhack.so.0.0 "$pkgdir/usr/lib/libswmhack.so.0" + ln -s /usr/lib/libswmhack.so.0.0 "$pkgdir/usr/lib/libswmhack.so" + + # fix this for real in the makefile + mkdir -p "$pkgdir"/usr/share/man/{es,it,pt,ru}/man1/ + mv "$pkgdir/usr/share/man/man1/spectrwm_es.1" "$pkgdir/usr/share/man/es/man1/" + mv "$pkgdir/usr/share/man/man1/spectrwm_it.1" "$pkgdir/usr/share/man/it/man1/" + mv "$pkgdir/usr/share/man/man1/spectrwm_pt.1" "$pkgdir/usr/share/man/pt/man1/" + mv "$pkgdir/usr/share/man/man1/spectrwm_ru.1" "$pkgdir/usr/share/man/ru/man1/" +} diff --git a/community/spectrwm/baraction.sh b/community/spectrwm/baraction.sh new file mode 100644 index 000000000..96a8a7b1a --- /dev/null +++ b/community/spectrwm/baraction.sh @@ -0,0 +1,82 @@ +#!/bin/bash +# baraction.sh for spectrwm status bar +# From http://wiki.archlinux.org/index.php/Scrotwm + +SLEEP_SEC=5 +#loops forever outputting a line every SLEEP_SEC secs +while :; do + + eval $(cat /proc/acpi/battery/BAT0/state | awk '/charging state/ {printf "BAT_CHGSTATE=%s;", $3}; /remaining capacity/ {printf "BAT_REMNG=%s;",$3}; /present rate/ {printf "BAT_RATE=%s;",$3};' -) + eval $(cat /proc/acpi/battery/BAT0/info | awk '/present/ {printf "BAT_PRESENT=%s;", $2}; /last full capacity/ {printf "BAT_LASTFULL=%s;",$4};' -) + + BAT_REMNG_WH=`echo "scale=1; a=($BAT_REMNG+50)/1000; print a" | bc -l` + BAT_RATE_W=`echo "scale=1; a=($BAT_RATE+50)/1000; print a" | bc -l` + BCSCRIPT="scale=0; a=(100*$BAT_REMNG / $BAT_LASTFULL); print a" + BAT_PCT=`echo $BCSCRIPT | bc -l`% + + case $BAT_PRESENT in + no) + POWER_STR="AC, NO BATTERY" + ;; + yes) + + case $BAT_CHGSTATE in + charged) + #on ac + AC_STATUS="ON AC" + TIME_REMNG="N/A" + POWER_STR="$AC_STATUS $BAT_CHGSTATE $BAT_PCT" + ;; + charging) + #on ac + AC_STATUS="ON AC" + BCSCRIPT="scale=1; a=(60*($BAT_LASTFULL - $BAT_REMNG) / $BAT_RATE); print a" + TIMETOFULL_MIN=`echo $BCSCRIPT | bc -l` + POWER_STR="$AC_STATUS $BAT_CHGSTATE $BAT_PCT C="$BAT_REMNG_WH"Wh Rate="$BAT_RATE_W"W TTF="$TIMETOFULL_MIN"min" + ;; + discharging) + AC_STATUS="ON BATT" + TIME_REMNG_MIN=`echo "scale=0; a=(60*$BAT_REMNG / $BAT_RATE); print a" | bc -l` + TIME_REMNG_HH=`echo "scale=0; a=($BAT_REMNG / $BAT_RATE); if (a<10) {print "0"; print a} else {print a}" | bc -l` + + TIME_REMNG_MM=`echo "scale=0; a=($TIME_REMNG_MIN-60*$TIME_REMNG_HH); if (a<10) {print "0"; print a} else {print a}" | bc -l` + POWER_STR="$AC_STATUS $BAT_PCT C="$BAT_REMNG_WH"Wh P="$BAT_RATE_W"W R="$TIME_REMNG_HH":"$TIME_REMNG_MM + ;; + *) + POWER_STR=$BAT_CHGSTATE + ;; + esac + + ;; + *) + POWER_STR="error" + ;; + esac + + #spectrwm bar_print can't handle UTF-8 characters, such as degree symbol + #Core 0: +67.0°C (crit = +100.0°C) + eval $(sensors 2>/dev/null | sed s/[°+]//g | awk '/^Core 0/ {printf "CORE0TEMP=%s;", $3}; /^Core 1/ {printf "CORE1TEMP=%s;",$3}; /^fan1/ {printf "FANSPD=%s;",$2};' -) + TEMP_STR="Tcpu=$CORE0TEMP,$CORE1TEMP F=$FANSPD" + + WLAN_ESSID=$(iwconfig wlan0 | awk -F "\"" '/wlan0/ { print $2 }') + eval $(cat /proc/net/wireless | sed s/[.]//g | awk '/wlan0/ {printf "WLAN_QULTY=%s; WLAN_SIGNL=%s; WLAN_NOISE=%s", $3,$4,$5};' -) + BCSCRIPT="scale=0;a=100*$WLAN_QULTY/70;print a" + WLAN_QPCT=`echo $BCSCRIPT | bc -l` + WLAN_POWER=`iwconfig 2>/dev/null| grep "Tx-Power"| awk {'print $4'}|sed s/Tx-Power=//` + WLAN_STR="$WLAN_ESSID: Q=$WLAN_QPCT% S/N="$WLAN_SIGNL"/"$WLAN_NOISE"dBm T="$WLAN_POWER"dBm" + + CPUFREQ_STR=`echo "Freq:"$(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;')` + CPULOAD_STR="Load:$(uptime | sed 's/.*://; s/,//g')" + + eval $(awk '/^MemTotal/ {printf "MTOT=%s;", $2}; /^MemFree/ {printf "MFREE=%s;",$2}' /proc/meminfo) + MUSED=$(( $MTOT - $MFREE )) + MUSEDPT=$(( ($MUSED * 100) / $MTOT )) + MEM_STR="Mem:${MUSEDPT}%" + + echo -e "$POWER_STR $TEMP_STR $CPUFREQ_STR $CPULOAD_STR $MEM_STR $WLAN_STR" + #alternatively if you prefer a different date format + #DATE_STR=`date +"%H:%M %a %d %b` + #echo -e "$DATE_STR $POWER_STR $TEMP_STR $CPUFREQ_STR $CPULOAD_STR $MEM_STR $WLAN_STR" + + sleep $SLEEP_SEC +done diff --git a/community/stress/PKGBUILD b/community/stress/PKGBUILD index c755912fd..2f320e0ab 100644 --- a/community/stress/PKGBUILD +++ b/community/stress/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 35321 2010-12-18 21:37:40Z ibiru $ +# $Id: PKGBUILD 64677 2012-02-17 18:26:44Z bluewind $ # Contributor: Corrado Primier <bardo@aur.archlinux.org> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=stress pkgver=1.0.4 -pkgrel=2 +pkgrel=3 pkgdesc="A tool that stress tests your system (CPU, memory, I/O, disks)" arch=('i686' 'x86_64') url="http://weather.ou.edu/~apw/projects/stress/" diff --git a/community/tipp10/PKGBUILD b/community/tipp10/PKGBUILD index 43767818f..96a77adbd 100644 --- a/community/tipp10/PKGBUILD +++ b/community/tipp10/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 43635 2011-03-28 15:07:14Z bluewind $ +# $Id: PKGBUILD 64679 2012-02-17 18:29:36Z bluewind $ # Maintainer: Florian Pritz <flo@xinu.at> # Contributor: toliman <altergan@hs-albsig.de> pkgname=tipp10 pkgver=2.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="intelligent typing tutor" arch=('i686' 'x86_64') url="http://www.tipp10.com/" diff --git a/community/warsow/PKGBUILD b/community/warsow/PKGBUILD index 2c941c653..069f5666a 100644 --- a/community/warsow/PKGBUILD +++ b/community/warsow/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 45996 2011-05-01 17:37:53Z svenstaro $ +# $Id: PKGBUILD 64728 2012-02-18 03:09:46Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Slash <demodevil5[at]yahoo[dot]com> # Contributor: Babets @@ -6,7 +6,7 @@ pkgname=warsow pkgver=0.62 -pkgrel=2 +pkgrel=3 pkgdesc="a free online multiplayer competitive FPS based on the Qfusion engine" url="http://www.warsow.net/" license=('GPL') diff --git a/community/wvdial/PKGBUILD b/community/wvdial/PKGBUILD index 8edab9e52..eedb8df9f 100644 --- a/community/wvdial/PKGBUILD +++ b/community/wvdial/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 49019 2011-06-09 20:53:15Z andrea $ +# $Id: PKGBUILD 64685 2012-02-17 18:33:53Z bluewind $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> pkgname=wvdial pkgver=1.61 -pkgrel=3 +pkgrel=4 pkgdesc="A dialer program to connect to the Internet" url="http://alumnit.ca/wiki/index.php?page=WvDial" arch=('i686' 'x86_64') diff --git a/community/xautolock/PKGBUILD b/community/xautolock/PKGBUILD index a2b394e59..9ab05243c 100644 --- a/community/xautolock/PKGBUILD +++ b/community/xautolock/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 25423 2010-09-04 20:38:54Z bluewind $ +# $Id: PKGBUILD 64681 2012-02-17 18:30:55Z bluewind $ # Maintainer: Florian Pritz <f-p@gmx.at> # Contributor: dorphell <dorphell@archlinux.org> # Committer: Judd Vinet <jvinet@zeroflux.org> pkgname=xautolock pkgver=2.2 -pkgrel=2 +pkgrel=3 pkgdesc="An automatic X screen-locker/screen-saver" arch=(i686 x86_64) url="ftp://ibiblio.org/pub/Linux/X11/screensavers/" license=('GPL2') depends=('libxss') makedepends=('imake') -source=(ftp://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz) +source=("ftp://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz") +md5sums=('9526347a202694ad235d731d9d3de91f') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" xmkmf make } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - make DESTDIR=${pkgdir}/ install - make DESTDIR=${pkgdir}/ install.man + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install.man } -md5sums=('9526347a202694ad235d731d9d3de91f') diff --git a/community/xbindkeys/PKGBUILD b/community/xbindkeys/PKGBUILD index 8e979b07a..b482c0973 100644 --- a/community/xbindkeys/PKGBUILD +++ b/community/xbindkeys/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 49026 2011-06-09 20:58:03Z andrea $ +# $Id: PKGBUILD 64683 2012-02-17 18:32:53Z bluewind $ # Maintainer: # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Thayer Williams <thayer@archlinux.org> pkgname=xbindkeys pkgver=1.8.5 -pkgrel=1 +pkgrel=2 pkgdesc="Launch shell commands with your keyboard or your mouse under X" arch=('i686' 'x86_64') url="http://www.nongnu.org/xbindkeys/xbindkeys.html" diff --git a/community/xplc/PKGBUILD b/community/xplc/PKGBUILD index bc029a87c..bcd055e00 100644 --- a/community/xplc/PKGBUILD +++ b/community/xplc/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 49019 2011-06-09 20:53:15Z andrea $ +# $Id: PKGBUILD 64687 2012-02-17 18:35:47Z bluewind $ # Maintainer: # Contributor: dorphell <dorphell@archlinux.org> pkgname=xplc pkgver=0.3.13 -pkgrel=3 +pkgrel=4 pkgdesc="Cross-Platform Lightweight Components" arch=('i686' 'x86_64') url="http://xplc.sourceforge.net" diff --git a/community/zaz/PKGBUILD b/community/zaz/PKGBUILD index 8954f7386..87c196109 100644 --- a/community/zaz/PKGBUILD +++ b/community/zaz/PKGBUILD @@ -1,18 +1,19 @@ -# $Id: PKGBUILD 25431 2010-09-04 20:59:53Z svenstaro $ +# $Id: PKGBUILD 64723 2012-02-18 02:57:50Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Adrián Chaves Fernández (aka Gallaecio) <adriyetichaves@gmail.com> # Contributor: Todd Partridge (aka Gen2ly) <toddrpartridge@gmail.com> pkgname=zaz pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Puzzle game where the player has to arrange balls in triplets." arch=('i686' 'x86_64') url="http://sourceforge.net/projects/zaz/" license=('GPL3' 'custom:CCBYSA') -depends=('ftgl' 'sdl' 'sdl_image' 'libvorbis' 'libtheora') +depends=('ftgl' 'sdl' 'sdl_image' 'libvorbis' 'libtheora' 'desktop-file-utils') source=(http://download.sourceforge.net/sourceforge/zaz/files/$pkgname-$pkgver.tar.bz2) md5sums=('d92a043780d06c699da0ba04aab32a6b') +install=zaz.install build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/zaz/zaz.install b/community/zaz/zaz.install new file mode 100644 index 000000000..724bfce00 --- /dev/null +++ b/community/zaz/zaz.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |