diff options
Diffstat (limited to 'community')
37 files changed, 517 insertions, 291 deletions
diff --git a/community/agg/PKGBUILD b/community/agg/PKGBUILD index 0a2c65cc2..7a50506a2 100644 --- a/community/agg/PKGBUILD +++ b/community/agg/PKGBUILD @@ -1,19 +1,18 @@ -# $Id: PKGBUILD 49798 2009-08-16 14:04:06Z jgc $ -# Maintainer: +# $Id: PKGBUILD 55569 2011-09-14 10:30:07Z andrea $ +# Maintainer: Jonathan Conder <jonno dot conder at gmail dot com> pkgname=agg pkgver=2.5 -pkgrel=3 +pkgrel=4 pkgdesc="A High Quality Rendering Engine for C++" arch=('i686' 'x86_64') url="http://www.antigrain.com/" license=('GPL') -depends=('gcc-libs>=4.4.1' 'sdl>=1.2.13' 'freetype2>=2.3.9') -makedepends=('automake') +depends=('gcc-libs' 'sdl' 'freetype2') provides=('antigrain') replaces=('antigrain') options=('!libtool' '!makeflags') -source=(http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz +source=("http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz" agg-2.4-depends.patch agg-2.5-pkgconfig.patch) md5sums=('0229a488bc47be10a2fee6cf0b2febd6' @@ -22,10 +21,14 @@ md5sums=('0229a488bc47be10a2fee6cf0b2febd6' build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" || return 1 - patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" || return 1 - sh ./autogen.sh || return 1 - ./configure --prefix=/usr --disable-static || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" + patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" + sh ./autogen.sh + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/community/antiword/PKGBUILD b/community/antiword/PKGBUILD index 9103de17c..3d5c45644 100644 --- a/community/antiword/PKGBUILD +++ b/community/antiword/PKGBUILD @@ -1,26 +1,34 @@ -# Maintainer : Aaron, phrakture, Griffin <aaron@archlinux.org> +# $Id: PKGBUILD 55537 2011-09-14 08:02:10Z andrea $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org> # Contributor: Gustav Munkby <grddev@gmx.net> pkgname=antiword pkgver=0.37 -pkgrel=2 -pkgdesc="Antiword is a free MS Word reader for Linux and RISC OS" +pkgrel=3 +pkgdesc="A free MS Word reader for Linux and RISC OS" arch=('i686' 'x86_64') url="http://www.winfield.demon.nl/" -license="GPL" -depends=('glibc') +license=('GPL') +depends=('bash') install=antiword.install -source=(http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz \ - antiword-helper) -md5sums=('f868e2a269edcbc06bf77e89a55898d1' '01a988376cfd4bb268120ab597c9abe3') +source=("http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz" + 'antiword-helper') +md5sums=('f868e2a269edcbc06bf77e89a55898d1' + '01a988376cfd4bb268120ab597c9abe3') -build() -{ - cd $srcdir/$pkgname-$pkgver - sed -i "s|CFLAGS =.*|CFLAGS = $CFLAGS -DNDEBUG|g; \ - s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \ - Makefile.Linux - make DESTDIR=$pkgdir global_install +build(){ + cd "${srcdir}"/$pkgname-$pkgver + + sed -i "s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \ + Makefile.Linux + + make OPT="${CFLAGS} -DNDEBUG" LDFLAGS="${LDFLAGS}" +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" global_install install -m755 $srcdir/antiword-helper $pkgdir/usr/bin/ install -Dm644 Docs/antiword.1 $pkgdir/usr/share/man/man1/antiword.1 } diff --git a/community/antiword/antiword.install b/community/antiword/antiword.install index 58aaccde7..010579522 100644 --- a/community/antiword/antiword.install +++ b/community/antiword/antiword.install @@ -1,5 +1,4 @@ -post_install() -{ +post_install() { cat << EOF NOTES On Antiword Integration: @@ -15,12 +14,3 @@ NOTES On Antiword Integration: * To enable drag-and-drop support in KDE, use the kantiword script EOF } - -post_upgrade() -{ - post_install $1 -} - -op=$1 -shift -$op $* diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD index ecdc98517..0e50f3466 100644 --- a/community/apcupsd/PKGBUILD +++ b/community/apcupsd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 53371 2011-08-03 09:47:21Z spupykin $ +# $Id: PKGBUILD 55548 2011-09-14 08:57:52Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Todd Musall <tmusall@comcast.net> pkgname=apcupsd -pkgver=3.14.9 -pkgrel=2 -pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines." +pkgver=3.14.10 +pkgrel=1 +pkgdesc="power mangement and controlling most of APC's UPS models" arch=(i686 x86_64) url="http://www.apcupsd.org" license=('GPL') @@ -18,7 +18,7 @@ backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf etc/apcupsd/multimon.conf) source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz apcupsd) -md5sums=('aa5e2c2954a81c2f07e0a356e38fe853' +md5sums=('5928822d855c5cf7ac29655e3e0b8c23' '8bc674da24188c69b0ad5d7fe7510f73') build() { diff --git a/community/busybox/PKGBUILD b/community/busybox/PKGBUILD index 661805132..0aa86474b 100644 --- a/community/busybox/PKGBUILD +++ b/community/busybox/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 55242 2011-09-07 09:24:20Z spupykin $ +# $Id: PKGBUILD 55598 2011-09-14 21:43:19Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jens Pranaitis <jens@jenux.homelinux.org> pkgname=busybox pkgver=1.19.2 -pkgrel=1 +pkgrel=2 pkgdesc="Utilities for rescue and embedded systems" arch=("i686" "x86_64") url="http://busybox.net" @@ -26,5 +26,5 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm755 busybox $pkgdir/bin/busybox + install -Dm4755 busybox $pkgdir/bin/busybox } diff --git a/community/chrpath/PKGBUILD b/community/chrpath/PKGBUILD index 2fefddfc2..c978d17a9 100644 --- a/community/chrpath/PKGBUILD +++ b/community/chrpath/PKGBUILD @@ -1,20 +1,25 @@ +# $Id: PKGBUILD 55552 2011-09-14 09:27:16Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> pkgname=chrpath pkgver=0.13 -pkgrel=2 +pkgrel=3 pkgdesc="Change or delete the rpath or runpath in ELF files" arch=('i686' 'x86_64') -url="http://packages.debian.org/chrpath" +url="http://directory.fsf.org/project/chrpath/" license=('GPL2') depends=('glibc') -source=(http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz) +source=("http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/${pkgname}/${pkgname}-${pkgver}.tar.gz") md5sums=('b73072a8fbba277558c50364b65bb407') build() { - cd $srcdir/$pkgname-$pkgver - + cd "${srcdir}"/$pkgname-$pkgver ./configure --prefix=/usr --mandir=/usr/share/man - make || return 1 - make DESTDIR=$pkgdir docdir=/usr/share/doc/chrpath install + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" docdir=/usr/share/doc/chrpath install } diff --git a/community/fftw2/PKGBUILD b/community/fftw2/PKGBUILD index 4198e96fc..e46a44e49 100644 --- a/community/fftw2/PKGBUILD +++ b/community/fftw2/PKGBUILD @@ -1,34 +1,52 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: damir <damir@archlinux.org> +# $Id: PKGBUILD 55583 2011-09-14 11:20:19Z andrea $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: damir <damir@archlinux.org> pkgname=fftw2 pkgver=2.1.5 -pkgrel=4 -pkgdesc="FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of both real and complex data, and of arbitrary input size. This is package is offering backwards compatibility version 2.x.y. of fftw." -arch=(i686 x86_64) +pkgrel=5 +pkgdesc="A C subroutine library for computing the discrete Fourier transform (DFT)" +arch=('i686' 'x86_64') url="http://www.fftw.org/" license=('GPL2') depends=('glibc') -options=(!libtool) -source=(http://www.fftw.org/fftw-${pkgver}.tar.gz) +makedepends=('gcc-fortran') +options=('!libtool') +source=("http://www.fftw.org/fftw-${pkgver}.tar.gz") md5sums=('8d16a84f3ca02a785ef9eb36249ba433') build() { - cd ${startdir}/src/fftw-${pkgver} - # build + install double precision + cd "${srcdir}" + + cp -r fftw-${pkgver} fftw-${pkgver}-double + + # build single precision + cd fftw-${pkgver} ./configure F77=gfortran --prefix=/usr \ - --enable-type-prefix --enable-shared \ - --enable-threads - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + --enable-float \ + --enable-type-prefix \ + --enable-shared \ + --enable-threads \ + --infodir=/usr/share/info + make + cd ../ - make clean - - # build + install single precision + # build double precision + cd fftw-${pkgver}-double ./configure F77=gfortran --prefix=/usr \ - --enable-float --enable-type-prefix --enable-shared \ - --enable-threads - make || return 1 - #make prefix=$startdir/pkg/usr install || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + --enable-type-prefix \ + --enable-shared \ + --enable-threads \ + --infodir=/usr/share/info + make +} + +package() { + # install single precision + cd "${srcdir}"/fftw-${pkgver} + make DESTDIR="${pkgdir}" install + + # install double precision + cd "${srcdir}"/fftw-${pkgver}-double + make DESTDIR="${pkgdir}" install } diff --git a/community/gsynaptics/PKGBUILD b/community/gsynaptics/PKGBUILD index af8b8cc81..137235be1 100644 --- a/community/gsynaptics/PKGBUILD +++ b/community/gsynaptics/PKGBUILD @@ -1,32 +1,36 @@ -# $Id: PKGBUILD 248 2009-07-21 09:55:45Z spupykin $ +# $Id: PKGBUILD 55543 2011-09-14 08:26:19Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=gsynaptics pkgver=0.9.16 -pkgrel=1 +pkgrel=2 pkgdesc="A settings tool for Synaptics touchpad driver" -arch=(i686 x86_64) -url="http://gsynaptics.sourceforge.jp" -license=("GPL") +arch=('i686' 'x86_64') +url="http://gsynaptics.sourceforge.jp/" +license=('GPL') depends=('libgnomeui' 'synaptics') makedepends=('intltool' 'gettext' 'gnome-doc-utils') install=$pkgname.install -source=(http://globalbase.dl.sourceforge.jp/gsynaptics/38463/gsynaptics-$pkgver.tar.gz \ - do-not-set-zero.dpatch \ - dot-fixes.dpatch \ - build-filename.dpatch) +source=("http://sourceforge.jp/frs/redir.php?m=iij&f=/${pkgname}/38463/${pkgname}-${pkgver}.tar.gz" + do-not-set-zero.dpatch + dot-fixes.dpatch + build-filename.dpatch) md5sums=('571828ddca2f1d9d6ea47e072db1959d' 'd6308d93fd4d04c686ba24422ed99905' '4c35d5d0803296233d50146963a0bcbc' - '11011a651f143103614fb69dd5aa77a1') + 'd227a70304bef3cc0272b37c5e322463') build() { - cd $startdir/src/gsynaptics-$pkgver - patch -p1 <$srcdir/dot-fixes.dpatch - patch -p1 <$srcdir/do-not-set-zero.dpatch - patch -p1 <$srcdir/build-filename.dpatch + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/dot-fixes.dpatch + patch -p1 -i "${srcdir}"/do-not-set-zero.dpatch + patch -p1 -i "${srcdir}"/build-filename.dpatch ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/community/gsynaptics/build-filename.dpatch b/community/gsynaptics/build-filename.dpatch index c48689533..404e6fab7 100644 --- a/community/gsynaptics/build-filename.dpatch +++ b/community/gsynaptics/build-filename.dpatch @@ -13,7 +13,7 @@ diff -urNad gsynaptics-0.9.14~/src/main.c gsynaptics-0.9.14/src/main.c gtk_window_set_default_size (GTK_WINDOW (widget), 400, -1); -- path = g_build_filename (DATADIR "/pixmaps", "touchpad.png"); +- path = g_build_filename (DATADIR "/pixmaps", "touchpad.png", NULL); + path = g_build_filename (DATADIR, "pixmaps", "touchpad.png", NULL); if (path) { diff --git a/community/gsynaptics/gsynaptics.install b/community/gsynaptics/gsynaptics.install index a0f279ee6..5b505b7b3 100644 --- a/community/gsynaptics/gsynaptics.install +++ b/community/gsynaptics/gsynaptics.install @@ -10,7 +10,3 @@ cat << EOF >>> EOF } - -op=$1 -shift -$op $* diff --git a/community/hacburn/PKGBUILD b/community/hacburn/PKGBUILD index da8654e32..2c4ea446e 100644 --- a/community/hacburn/PKGBUILD +++ b/community/hacburn/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 7841 2010-01-11 23:20:21Z dgriffiths $ +# $Id: PKGBUILD 55602 2011-09-14 23:25:07Z dreisner $ # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org pkgname=hacburn pkgver=0.3.5 -pkgrel=3.1 +pkgrel=4 pkgdesc="HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123." arch=('i686' 'x86_64') url="http://hacburn.sourceforge.net/" license=('GPL') -depends=('gtk2-perl' 'glib-perl' 'cdrtools' 'mpg321' 'vorbis-tools' 'gtk2' 'xorg-server' 'perl' 'cddb_get' 'lame') +depends=('gtk2-perl' 'glib-perl' 'cdrkit' 'mpg321' 'vorbis-tools' 'gtk2' 'xorg-server' 'perl' 'cddb_get' 'lame') conflicts=('hacburn-cvs') source=(http://downloads.sourceforge.net/sourceforge/hacburn/HacBurn-$pkgver.tar.bz2) md5sums=('1e4b3e4b49de58259a446b7752f59f22') diff --git a/community/httptunnel/PKGBUILD b/community/httptunnel/PKGBUILD index e9a048daa..dad2e7b9a 100644 --- a/community/httptunnel/PKGBUILD +++ b/community/httptunnel/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 31032 2009-03-24 04:10:30Z eric $ -# Maintainer: dorphell <dorphell@archlinux.org> +# $Id: PKGBUILD 55529 2011-09-14 07:38:23Z andrea $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: dorphell <dorphell@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=httptunnel pkgver=3.3 -pkgrel=2 -pkgdesc="httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests" -arch=(i686 x86_64) +pkgrel=3 +pkgdesc="Creates a bidirectional virtual data connection tunnelled in HTTP requests" +arch=('i686' 'x86_64') url="http://www.nocrew.org/software/httptunnel" license=('GPL2') depends=('glibc') -source=(http://www.nocrew.org/software/httptunnel/$pkgname-$pkgver.tar.gz) +source=("http://www.nocrew.org/software/${pkgname}/$pkgname-$pkgver.tar.gz") md5sums=('493cc0f5f21e9955db27ee9cd9a976d5') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 + cd "${srcdir}"/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install } diff --git a/community/id3lib-rcc/PKGBUILD b/community/id3lib-rcc/PKGBUILD index 1aacda468..cb62b1ef9 100644 --- a/community/id3lib-rcc/PKGBUILD +++ b/community/id3lib-rcc/PKGBUILD @@ -1,21 +1,19 @@ -# $Id: PKGBUILD 2097 2009-09-08 15:34:53Z spupykin $ +# $Id: PKGBUILD 55559 2011-09-14 10:08:38Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=id3lib-rcc pkgver=3.8.3 -pkgrel=6 +pkgrel=7 pkgdesc="id3lib with librcc patch" arch=('i686' 'x86_64') url="http://id3lib.sourceforge.net/" license=('GPL') -depends=(libxml2 db librcc zlib) -makedepends=(patch) -provides=(id3lib) -conflicts=(id3lib) +depends=('libxml2' 'librcc' 'gcc-libs') +provides=('id3lib') +conflicts=('id3lib') options=('!libtool') -source=(http://downloads.sourceforge.net/id3lib/id3lib-$pkgver.tar.gz \ - http://downloads.sourceforge.net/rusxmms/id3lib-csa2.tar.bz2 \ +source=(http://downloads.sourceforge.net/id3lib/id3lib-$pkgver.tar.gz + http://downloads.sourceforge.net/rusxmms/id3lib-csa2.tar.bz2 arch.patch id3lib-gcc4.patch) md5sums=('19f27ddd2dda4b2d26a559a4f0f402a7' @@ -24,16 +22,22 @@ md5sums=('19f27ddd2dda4b2d26a559a4f0f402a7' '94191cf1fe6f5fd391d95a6de81a48b9') build() { - cd $startdir/src/id3lib-$pkgver + cd "${srcdir}"/id3lib-$pkgver - patch -Np1 <../id3lib/id3lib-ds-rcc.patch - patch -Np1 <$srcdir/id3lib-gcc4.patch - (cd src && patch -Np0 <../../arch.patch) + patch -Np1 -i "${srcdir}"/id3lib/id3lib-ds-rcc.patch + patch -Np1 -i "${srcdir}"/id3lib-gcc4.patch + cd src + patch -Np0 -i "${srcdir}"/arch.patch + cd .. sed -i 's#iomanip.h##' configure sed -i 's|size_t size_t, size_t \*size_t|size_t s1, size_t *s2|' src/rccpatch.h - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr - make LDFLAGS=-lrcc || return 1 - make DESTDIR=$startdir/pkg install + ./configure --prefix=/usr + make LDFLAGS=-lrcc +} + +package() { + cd "${srcdir}"/id3lib-$pkgver + make DESTDIR="${pkgdir}" install } diff --git a/community/iksemel/PKGBUILD b/community/iksemel/PKGBUILD index 242ec9323..9034cbbe1 100644 --- a/community/iksemel/PKGBUILD +++ b/community/iksemel/PKGBUILD @@ -1,26 +1,31 @@ -# $Id: PKGBUILD 1020 2009-08-11 22:19:38Z mherych $ -# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com> +# $Id: PKGBUILD 55571 2011-09-14 10:35:20Z andrea $ # Maintainer: Mateusz Herych <heniekk@gmail.com> -# Contributos: Guillermo Vaya driadan@willinux.net +# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> +# Contributor: Guillermo Vaya driadan@willinux.net pkgname=iksemel pkgver=1.4 -pkgrel=1 +pkgrel=2 pkgdesc="XML parser library for Jabber applications in ANSI C" arch=('i686' 'x86_64') url="http://code.google.com/p/iksemel/" license=('LGPL') -depends=('gnutls') -source=(http://iksemel.googlecode.com/files/iksemel-$pkgver.tar.gz) +depends=('glibc') +install=iksemel.install +source=("http://iksemel.googlecode.com/files/${pkgname}-$pkgver.tar.gz") md5sums=('532e77181694f87ad5eb59435d11c1ca') options=('!libtool') build() { - cd $startdir/src/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver ./configure --prefix=/usr \ --infodir=/usr/share/info - make || return 1 - make DESTDIR=$startdir/pkg install - mv $pkgdir/usr/share/info/$pkgname $pkgdir/usr/share/info/$pkgname.info - rm -rf $pkgdir/usr/share/info/dir + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + mv "${pkgdir}"/usr/share/info/$pkgname "${pkgdir}"/usr/share/info/$pkgname.info + rm -rf "${pkgdir}"/usr/share/info/dir } diff --git a/community/iksemel/iksemel.install b/community/iksemel/iksemel.install new file mode 100644 index 000000000..1cd1dbf31 --- /dev/null +++ b/community/iksemel/iksemel.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(iksemel.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/community/incron/PKGBUILD b/community/incron/PKGBUILD index bc8e83ab3..c64ad3e44 100644 --- a/community/incron/PKGBUILD +++ b/community/incron/PKGBUILD @@ -1,36 +1,40 @@ -# $Id: PKGBUILD 1515 2009-08-24 21:08:19Z spupykin $ +# $Id: PKGBUILD 55563 2011-09-14 10:20:14Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Roberto Alsina <ralsina@kde.org> # Contributor: scj <scj(at)archlinux(dot)us> + pkgname=incron pkgver=0.5.9 -pkgrel=1 +pkgrel=2 pkgdesc="Like the regular cron but is driven by filesystem events instead of time periods" arch=('i686' 'x86_64') url="http://incron.aiken.cz/" -license=("GPL") -depends=('gcc-libs') +license=('GPL') +depends=('gcc-libs' 'bash') install=incron.install -source=(http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz \ - incron.init) -options=(emptydirs) +source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz" + 'incron.init') +options=('emptydirs') md5sums=('a285b9e14af7bf9f9524fe051a06255f' '648e1ca1a4b1e624401d9d71aa3756b3') build() { - cd $startdir/src/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver - install -D -m 755 $startdir/incron.init $startdir/pkg/etc/rc.d/incrond - mkdir -p $startdir/pkg/usr/share/man $startdir/pkg/usr/bin $startdir/pkg/usr/sbin + install -D -m 755 "${srcdir}"/incron.init "${pkgdir}"/etc/rc.d/incrond + install -d "${pkgdir}"/usr/share/man "${pkgdir}"/usr/{s,}bin sed -i '1,1i#include <stdio.h>' icd-main.cpp inotify-cxx.cpp usertable.cpp appargs.cpp sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp - make || return 1 + make +} - make PREFIX=$startdir/pkg/usr \ - MANPATH=$startdir/pkg/usr/share/man \ - USERDATADIR=$startdir/pkg/var/spool/incron \ - CFGDIR=$startdir/pkg/etc \ - SYSDATADIR=$startdir/pkg/etc/incron.d install +package() { + cd "${srcdir}"/$pkgname-$pkgver + make PREFIX="${pkgdir}"/usr \ + MANPATH="${pkgdir}"/usr/share/man \ + USERDATADIR="${pkgdir}"/var/spool/incron \ + CFGDIR="${pkgdir}"/etc \ + SYSDATADIR="${pkgdir}"/etc/incron.d install } diff --git a/community/incron/incron.install b/community/incron/incron.install index 3c4535b00..de4de3742 100644 --- a/community/incron/incron.install +++ b/community/incron/incron.install @@ -12,4 +12,3 @@ pre_remove() { usr/sbin/userdel incron >& /dev/null usr/sbin/groupdel incron >& /dev/null } - diff --git a/community/libnfnetlink/PKGBUILD b/community/libnfnetlink/PKGBUILD index 17e77c144..fc8e6d8dd 100644 --- a/community/libnfnetlink/PKGBUILD +++ b/community/libnfnetlink/PKGBUILD @@ -1,22 +1,27 @@ -# $Id: PKGBUILD 191 2009-07-20 09:12:55Z spupykin $ +# $Id: PKGBUILD 55539 2011-09-14 08:04:26Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Kevin Edmonds <edmondskevin@hotmail.com> -# Maintainer: Filip Wojciechowski, filip at loka dot pl +# Contributor: Filip Wojciechowski, filip at loka dot pl + pkgname=libnfnetlink pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="low-level library for netfilter related kernel/userspace communication" -depends=(glibc) +arch=('i686' 'x86_64') url="http://www.netfilter.org/projects/libnfnetlink/index.html" license=('GPL') -arch=('i686' 'x86_64') +depends=('glibc') options=('!libtool') -source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2) +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") md5sums=('016fdec8389242615024c529acc1adb8') build() { - cd $startdir/src/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install } diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index b17d54d64..69c5e52cc 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 54469 2011-08-18 15:07:52Z bluewind $ +# $Id: PKGBUILD 55591 2011-09-14 14:47:29Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt pkgver=0.9.4 -pkgrel=2 +pkgrel=3 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -16,18 +16,13 @@ depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' makedepends=('pkgconfig' 'lvm2') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' - 'kernel26-ovz24: for openvz guests' 'kvm' - 'lxc' 'openbsd-netcat: for remote management over ssh' 'qemu' - 'user-mode-linux' - 'virtualbox_bin' - 'virtualbox-ose' - 'xen' 'radvd') options=('emptydirs' '!libtool') backup=('etc/conf.d/libvirtd' + 'etc/conf.d/libvirtd-guests' 'etc/libvirt/libvirtd.conf' 'etc/libvirt/qemu.conf' 'etc/sasl2/libvirt.conf') @@ -35,12 +30,16 @@ install="libvirt.install" source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" libvirtd.rc.d libvirtd.conf.d + libvirtd-guests.rc.d + libvirtd-guests.conf.d openbsd-netcat-default.patch unixperms.patch yajl-2.x.patch) md5sums=('86b411b11bd23d4af20611699f372af7' 'c43244c40a0437038c82089618e7beaa' '3ed0e24f5b5e25bf553f5427d64915e6' + '6f36bf189ef0e5847038787d13535420' + 'bc2971dacdbac967fc3474e50affc345' 'ee7052f3929d5d918236c646a59edebf' 'db95aecdf2ccf3693fef5821cdcb7eba' '5745bb8d0b254abb7a3528c66e03b0f9') @@ -74,8 +73,14 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/libvirtd.rc.d "$pkgdir"/etc/rc.d/libvirtd install -D -m644 "$srcdir"/libvirtd.conf.d "$pkgdir"/etc/conf.d/libvirtd + + install -D -m755 "$srcdir"/libvirtd-guests.rc.d "$pkgdir"/etc/rc.d/libvirtd-guests + install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirtd-guests + rm -rf $pkgdir/var/run } diff --git a/community/libvirt/libvirtd-guests.conf.d b/community/libvirt/libvirtd-guests.conf.d new file mode 100644 index 000000000..02a933715 --- /dev/null +++ b/community/libvirt/libvirtd-guests.conf.d @@ -0,0 +1,11 @@ +LIBVIRTD_STOP_ACTION=suspend + +#LIBVIRTD_URI="-c qemu+ssh://user@host/system" +LIBVIRTD_URI="" + +#LIBVIRTD_BYPASS_CACHE="--bypass-cache" +LIBVIRTD_BYPASS_CACHE="" + +LIBVIRTD_START_DELAY=0 + +LIBVIRTD_SHUTDOWN_TIMEOUT=3 diff --git a/community/libvirt/libvirtd-guests.rc.d b/community/libvirt/libvirtd-guests.rc.d new file mode 100755 index 000000000..a97a8d9d1 --- /dev/null +++ b/community/libvirt/libvirtd-guests.rc.d @@ -0,0 +1,107 @@ +#!/bin/sh + +. /etc/conf.d/libvirtd-guests +. /etc/rc.conf +. /etc/rc.d/functions + +LIBVIRTD_LISTFILE="/var/state/libvirtd/vm-list" + +# get guest state by name +libvirt_get_guest_state() +{ + virsh $LIBVIRTD_URI dominfo "$1" | grep -E '^State:' | awk '{print $2}' +} + +# list IDs of running guests +libvirt_list() +{ + virsh $LIBVIRTD_URI list | awk 'NR > 2 {print $2}' +} + +# suspend guest by name +libvirt_suspend() +{ + virsh $LIBVIRTD_URI $LIBVIRTD_BYPASS_CACHE managedsave "$1" >/dev/null + timeout=$LIBVIRTD_SHUTDOWN_TIMEOUT + while [ "$timeout" -gt 0 ]; do + sleep 1 + timeout=$((timeout - 1)) + state=`libvirt_get_guest_state "$1"` + [ "x$state" == "xshut" ] && return 0 + done + return 1 +} + +# shutdown guest by name +libvirt_shutdown() +{ + virsh $LIBVIRTD_URI shutdown "$1" >/dev/null + timeout=$LIBVIRTD_SHUTDOWN_TIMEOUT + while [ "$timeout" -gt 0 ]; do + sleep 1 + timeout=$((timeout - 1)) + state=`libvirt_get_guest_state "$1"` + [ "x$state" != "xshut" ] && return 0 + done + return 1 +} + +# start guest by name +libvirt_start() +{ + virsh $LIBVIRTD_URI $LIBVIRTD_BYPASS_CACHE start "$1" >/dev/null +} + +# stop all guests +libvirt_stop_all() +{ + mkdir -p `dirname $LIBVIRTD_LISTFILE` + echo -n >$LIBVIRTD_LISTFILE + for i in `libvirt_list`; do + if [ "x$LIBVIRTD_STOP_ACTION" == "xsuspend" ]; then + stat_busy "Suspending libvirtd/$i guest" + libvirt_suspend "$i" + else + stat_busy "Shutting libvirtd/$i guest down" + libvirt_shutdown "$i" + fi + [ $? -eq 0 ] && stat_done || stat_fail + echo $i >>$LIBVIRTD_LISTFILE + done +} + +# start all guests +libvirt_start_all() +{ + if [ -f $LIBVIRTD_LISTFILE ]; then + for i in `cat $LIBVIRTD_LISTFILE`; do + stat_busy "Starting/resuming libvirtd/$i guest" + libvirt_start "$i" + [ $? -eq 0 ] && { sleep $LIBVIRTD_START_DELAY; stat_done; } || stat_fail + done + fi + rm -f $LIBVIRTD_LISTFILE +} + +# main +LC_ALL=C +LANG=C +case "$1" in + start) + libvirt_start_all + add_daemon libvirtd-guests + ;; + stop) + libvirt_stop_all + rm_daemon libvirtd-guests + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + ;; +esac +exit 0 diff --git a/community/libx86/PKGBUILD b/community/libx86/PKGBUILD index fcf0ddc68..460166174 100644 --- a/community/libx86/PKGBUILD +++ b/community/libx86/PKGBUILD @@ -1,36 +1,41 @@ -# $Id: PKGBUILD 46956 2011-05-13 20:41:19Z andrea $ +# $Id: PKGBUILD 55525 2011-09-14 07:30:42Z andrea $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: tardo <tardo@nagi-fanboi.net> -# Maintainer: Thayer Williams <thayer@archlinux.org> +# Contributor: Thayer Williams <thayer@archlinux.org> pkgname=libx86 pkgver=1.1 -pkgrel=2 +pkgrel=3 pkgdesc="Provides an lrmi interface that works on x86, am64 and alpha" arch=('i686' 'x86_64') url="http://www.codon.org.uk/~mjg59/libx86/" license=('custom') depends=('glibc') -source=(http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$pkgver.tar.gz - libx86-ifmask.patch) +source=("http://www.codon.org.uk/~mjg59/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz" + 'libx86-ifmask.patch') md5sums=('41bee1f8e22b82d82b5f7d7ba51abc2a' '573897186eb8670d8d97c64ea7614001') build() { - cd $srcdir/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver # lrmi.c patch courtesy of Gentoo - patch -Np0 -i $srcdir/libx86-ifmask.patch || return 1 + patch -Np0 -i "${srcdir}"/libx86-ifmask.patch # compensate for x86_64 if [ "$CARCH" = "x86_64" ]; then - make BACKEND=x86emu || return 1 - else - make || return 1 + make BACKEND=x86emu + else + make fi +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR=$pkgdir install || return 1 - chmod 644 $pkgdir/usr/lib/libx86.a || return 1 + make DESTDIR="${pkgdir}" install + chmod 644 "${pkgdir}"/usr/lib/libx86.a - install -D -m 644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT || return 1 + install -D -m 644 COPYRIGHT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE } diff --git a/community/notion/ChangleLog b/community/notion/ChangleLog new file mode 100644 index 000000000..2107408db --- /dev/null +++ b/community/notion/ChangleLog @@ -0,0 +1,5 @@ +2011-09-14 Sergej Pupykin <pupykin.s+arch@gmail.com> + + * 20110914-1 : + Add contrib/ to /usr/share/notion/contrib + Add mod_*.lua to /etc/notion/ diff --git a/community/notion/PKGBUILD b/community/notion/PKGBUILD index b90bfdfed..304d14760 100644 --- a/community/notion/PKGBUILD +++ b/community/notion/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 55503 2011-09-13 16:34:12Z spupykin $ +# $Id: PKGBUILD 55596 2011-09-14 16:51:45Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Eugen Zagorodniy e dot zagorodniy at gmail dot com # Contributor: aunoor pkgname=notion -pkgver=20110913 +pkgver=20110914 pkgrel=1 pkgdesc="Tabbed tiling, window manager. Fork of Ion3" url="http://sourceforge.net/projects/notion/" @@ -15,13 +15,15 @@ optdepends=('libxinerama' 'libxrandr') makedepends=('git' 'pkgconfig' 'libxinerama' 'libxrandr' 'rubber' 'latex2html' 'texlive-htmlxml' 'texlive-latexextra') provides=('libtu' 'libextl') +changelog=ChangleLog _gitroots=("git://notion.git.sourceforge.net/gitroot/notion/notion" "git://notion.git.sourceforge.net/gitroot/notion/libtu" "git://notion.git.sourceforge.net/gitroot/notion/libextl" "git://notion.git.sourceforge.net/gitroot/notion/notion-doc" "git://notion.git.sourceforge.net/gitroot/notion/mod_xinerama" "git://notion.git.sourceforge.net/gitroot/notion/mod_xkbevents" - "git://notion.git.sourceforge.net/gitroot/notion/mod_xrandr") + "git://notion.git.sourceforge.net/gitroot/notion/mod_xrandr" + "git://notion.git.sourceforge.net/gitroot/notion/contrib") build() { cd ${srcdir} @@ -47,7 +49,7 @@ build() { cp -r ${srcdir}/$i ${srcdir}/notion-build/ done - # build + # build notion cd ${srcdir}/notion-build msg "Starting make..." sed -e 's/^\(PREFIX=\).*$/\1\/usr/' \ @@ -57,9 +59,12 @@ build() { -i system.mk make INCLUDES=-I${srcdir}/notion-build + # doc workaround for i in ioncore mod_tiling mod_query de mod_menu mod_dock mod_sp mod_statusbar; do (cd $i && make _exports_doc) done + + # build doc and modules for i in mod_xinerama mod_xkbevents mod_xrandr notion-doc; do (cd $i && make -j1 TOPDIR=.. all) done @@ -67,10 +72,21 @@ build() { package() { cd ${srcdir}/notion-build + + # notion make PREFIX=${pkgdir}/usr ETCDIR=${pkgdir}/etc/notion install + + # modules for i in mod_xinerama mod_xkbevents mod_xrandr notion-doc; do (cd $i && make PREFIX=${pkgdir}/usr ETCDIR=${pkgdir}/etc/notion TOPDIR=.. install) done - mkdir -p ${pkgdir}/usr/share/licenses/notion - cp LICENSE ${pkgdir}/usr/share/licenses/notion + cp ${srcdir}/mod_xinerama/*.lua $pkgdir/etc/notion/ + cp ${srcdir}/mod_xkbevents/*.lua $pkgdir/etc/notion/ + + # contrib + mkdir -p $pkgdir/usr/share/notion/contrib + cp -a ${srcdir}/contrib/* $pkgdir/usr/share/notion/contrib + + # license + install -Dm0644 LICENSE ${pkgdir}/usr/share/licenses/notion/LICENSE } diff --git a/community/pigeonhole/PKGBUILD b/community/pigeonhole/PKGBUILD index 77bf55ca1..144788233 100644 --- a/community/pigeonhole/PKGBUILD +++ b/community/pigeonhole/PKGBUILD @@ -8,8 +8,8 @@ _dcpkgver=2.0.14 # Make sure to bump pkgrel if changing this. pkgname=pigeonhole -pkgver=0.2.3 -pkgrel=3 +pkgver=0.2.4 +pkgrel=1 pkgdesc="Fully rewritten Sieve implementation for Dovecot v2.0" arch=('i686' 'x86_64') url="http://pigeonhole.dovecot.org/" @@ -19,9 +19,9 @@ makedepends=() conflicts=('dovecot-sieve' 'pigeonhole-hg') source=("http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-$pkgname-$pkgver.tar.gz" "dovecot.conf") -md5sums=('336cbb2073b48119d968fad7de89817a' - '564b771c339f69a477c06babf53e11c2') options=('!libtool') +md5sums=('11d396b901db774799d07db6e4dd805b' + '564b771c339f69a477c06babf53e11c2') build() { cd "$srcdir/dovecot-2.0-$pkgname-$pkgver" diff --git a/community/qbittorrent/PKGBUILD b/community/qbittorrent/PKGBUILD index 2255768f0..273254c36 100644 --- a/community/qbittorrent/PKGBUILD +++ b/community/qbittorrent/PKGBUILD @@ -4,7 +4,7 @@ pkgname=qbittorrent pkgver=2.8.5 -pkgrel=1 +pkgrel=2 pkgdesc="A bittorrent client written in C++ / Qt4 using the good libtorrent library" arch=('i686' 'x86_64') url="http://www.qbittorrent.org/" @@ -14,10 +14,8 @@ makedepends=('boost' 'geoip') optdepends=('python2: needed for search' 'geoip: improves peer country resolution') install='qbittorrent.install' -source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-${pkgver}.tar.gz" - 'python2.patch') -md5sums=('5f081231537d53e4295483eb9a8f94b1' - 'db0d79fee8ce3470ad3741d36b02a94c') +source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-${pkgver}.tar.gz") +md5sums=('5f081231537d53e4295483eb9a8f94b1') build() { cd qbittorrent-${pkgver} @@ -27,8 +25,6 @@ build() { -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find ./ -name '*.py') - patch -Np1 -i ${srcdir}/python2.patch - ./configure \ --prefix=/usr diff --git a/community/qscintilla-qt3/PKGBUILD b/community/qscintilla-qt3/PKGBUILD index 19c554b7d..97da30f58 100644 --- a/community/qscintilla-qt3/PKGBUILD +++ b/community/qscintilla-qt3/PKGBUILD @@ -1,38 +1,37 @@ -# $Id$ -# Maintainer: +# $Id: PKGBUILD 55531 2011-09-14 07:43:04Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: red_over_blue,Ben <ben@benmazer.net>,Kritoke <kritoke@gamebox.net> pkgname=qscintilla-qt3 pkgver=1.7.1 -pkgrel=3 +pkgrel=4 pkgdesc="A port to Qt3 of Neil Hodgson's Scintilla C++ editor class" arch=('i686' 'x86_64') url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro/" license=('GPL2') depends=('qt3') -source=(http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla1/QScintilla-1.71-gpl-$pkgver.tar.gz) +source=("http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla1/QScintilla-1.71-gpl-$pkgver.tar.gz") md5sums=('dfa047b45d4f09ae8d4a8a431ba88a5a') build() { . /etc/profile.d/qt3.sh - cd $srcdir/QScintilla-1.71-gpl-$pkgver + cd "${srcdir}"/QScintilla-1.71-gpl-$pkgver cd qt - echo [STARTING sed on qscintilla.pro] sed -i "s%DESTDIR.*%DESTDIR=$pkgdir/opt/qt/lib%g" qscintilla.pro /opt/qt/bin/qmake qscintilla.pro make } package() { - cd $srcdir/QScintilla-1.71-gpl-$pkgver + cd "${srcdir}"/QScintilla-1.71-gpl-$pkgver/qt # installind includes for i in qextscintilla*.h; do - install -m 644 -D $i $pkgdir/opt/qt/include/$i + install -m 644 -D $i "${pkgdir}"/opt/qt/include/$i done - + #for i in qscintilla*.qm #do - #install -m 644 -D $i $startdir/pkg/opt/qt/translations/$i + #install -m 644 -D $i "${pkgdir}"/opt/qt/translations/$i #done } diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD index 321366e0e..ad189f6e9 100644 --- a/community/roxterm/PKGBUILD +++ b/community/roxterm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 55281 2011-09-08 15:08:58Z ttopper $ +# $Id: PKGBUILD 55595 2011-09-14 14:55:41Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgname=roxterm -pkgver=2.1.1 +pkgver=2.1.2 pkgrel=1 pkgdesc="Tabbed, VTE-based terminal emulator" arch=('i686' 'x86_64') @@ -13,8 +13,8 @@ depends=('dbus-glib' 'vte3' 'hicolor-icon-theme' 'dbus' 'dbus-core' 'glib2') makedepends=('docbook-xsl' 'xmlto' 'po4a') install=roxterm.install source=(http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.gz) -md5sums=('45f694c3633a4af2b76472dcac9203a7') -sha1sums=('c4fb10ca28ca5d781a2ed98cb7e13cbac0762cc9') +md5sums=('ad94bb37de28fcc3997a5529277708a1') +sha1sums=('463c334596744f60f9592752d85eb4af4feeef1d') build() { diff --git a/community/scponly/PKGBUILD b/community/scponly/PKGBUILD index 96d07c175..30bcd9d44 100644 --- a/community/scponly/PKGBUILD +++ b/community/scponly/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 46261 2011-05-04 11:37:35Z spupykin $ +# $Id: PKGBUILD 55546 2011-09-14 08:50:05Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Roberto Alsina <ralsina@kde.org> @@ -7,7 +7,7 @@ pkgver=4.8 pkgrel=7 pkgdesc="A limited shell for ssh/scp" arch=(i686 x86_64) -url="http://www.sublimation.org/scponly/" +url="http://sublimation.org/scponly/" depends=('glibc') license=('custom') options=(docs) diff --git a/community/splint/PKGBUILD b/community/splint/PKGBUILD index d0676e311..f6559ab07 100644 --- a/community/splint/PKGBUILD +++ b/community/splint/PKGBUILD @@ -1,25 +1,30 @@ -# $Id: PKGBUILD 2039 2009-09-07 16:30:22Z spupykin $ +# $Id: PKGBUILD 55573 2011-09-14 10:41:16Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=splint pkgver=3.1.2 -pkgrel=2 +pkgrel=3 pkgdesc="A tool for statically checking C programs for security vulnerabilities and coding mistakes" arch=('i686' 'x86_64') -url="http://www.splint.org" +url="http://www.splint.org/" license=('GPL') depends=('glibc') -source=(http://www.splint.org/downloads/splint-$pkgver.src.tgz \ - splint.sh) +source=("http://www.splint.org/downloads/${pkgname}-${pkgver}.src.tgz" + 'splint.sh') md5sums=('25f47d70bd9c8bdddf6b03de5949c4fd' '0efb6341b384dc44590989fe3678c96c') +options=('!makeflags') build() { - cd $startdir/src/splint-$pkgver - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --mandir=/usr/share/man - make || return 1 - make DESTDIR=$startdir/pkg install || return 1 + cd "${srcdir}"/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install - install -D -m755 ../splint.sh $startdir/pkg/etc/profile.d/splint.sh + install -D -m755 "${srcdir}"/splint.sh "${pkgdir}"/etc/profile.d/splint.sh } diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD index e7ae09a0e..7c7067615 100644 --- a/community/stunnel/PKGBUILD +++ b/community/stunnel/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 55167 2011-09-04 16:26:15Z dreisner $ +# $Id: PKGBUILD 55577 2011-09-14 10:56:19Z lfleischer $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Kevin Piche <kevin@archlinux.org> pkgname=stunnel -pkgver=4.42 +pkgver=4.43 pkgrel=1 pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL" arch=('i686' 'x86_64') @@ -16,8 +16,8 @@ options=('!libtool') source=("ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz"{,.asc} 'Makefile.patch' 'stunnel.rc.d') -md5sums=('f64a7426166d397dd826deef33bb6aa0' - '011dc68c245c465d120e8bfad10cc891' +md5sums=('84174925a0f2632cc5cd52b3503cf07b' + 'bc1280f59a117f01bb037d9376f9baf6' 'f15398497e10e080c2406d2fc541660c' 'cb647c71ff4cb1e035b6e515d5f13ebf') diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD index ec922d418..f2ab10d98 100644 --- a/community/tinyproxy/PKGBUILD +++ b/community/tinyproxy/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 44216 2011-04-04 13:31:34Z lfleischer $ +# $Id: PKGBUILD 55575 2011-09-14 10:47:03Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Andrea Zucchelli <zukka77@gmail.com> pkgname=tinyproxy -pkgver=1.8.2 -pkgrel=3 +pkgver=1.8.3 +pkgrel=1 pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.' arch=('i686' 'x86_64') url='https://banu.com/tinyproxy/' @@ -13,7 +13,7 @@ makedepends=('asciidoc') backup=('etc/tinyproxy/tinyproxy.conf') source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2" 'tinyproxy') -md5sums=('edc8502193cfed4974d6a770da173755' +md5sums=('292ac51da8ad6ae883d4ebf56908400d' '464b5d60b1c9cbae26367fe2337c2d77') build() { diff --git a/community/tor/PKGBUILD b/community/tor/PKGBUILD index 72b5419cc..ab879b77e 100644 --- a/community/tor/PKGBUILD +++ b/community/tor/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 55094 2011-09-02 11:01:01Z lfleischer $ +# $Id: PKGBUILD 55579 2011-09-14 11:12:14Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: simo <simo@archlinux.org> pkgname=tor -pkgver=0.2.2.32 +pkgver=0.2.2.33 pkgrel=1 pkgdesc='Anonymizing overlay network.' arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ source=("http://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz" 'torrc' 'tor' 'tor.conf.d') -md5sums=('6d70db8da9513453d520168e017a272c' +md5sums=('ea99aba49694bb982d2fccc57a70d58e' '56c75d4e8a66f34167d31e38c43793dd' 'f8e6868a389877346e7eebaacd1078bb' '5c7c6834064b3530c442def6079ac3aa') diff --git a/community/vbetool/PKGBUILD b/community/vbetool/PKGBUILD index db48df072..1eb2b244c 100644 --- a/community/vbetool/PKGBUILD +++ b/community/vbetool/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 46960 2011-05-13 20:41:32Z andrea $ +# $Id: PKGBUILD 55527 2011-09-14 07:33:04Z andrea $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Christian Storm <Christian.Storm@gmx.DE> # Contributor: James Rayner <james@archlinux.org> -# Maintainer: Thayer Williams <thayer@archlinux.org> +# Contributor: Thayer Williams <thayer@archlinux.org> pkgname=vbetool pkgver=1.1 -pkgrel=1 -pkgdesc="vbetool uses lrmi in order to run code from the video BIOS" +pkgrel=2 +pkgdesc="Uses lrmi in order to run code from the video BIOS" url="http://www.srcf.ucam.org/~mjg59/vbetool/" license=('GPL2') arch=('i686' 'x86_64') depends=('zlib' 'libx86') makedepends=('pciutils') -source=(http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-${pkgver}.tar.gz) +source=("http://www.codon.org.uk/~mjg59/${pkgname}/download/${pkgname}-${pkgver}.tar.gz") md5sums=('ffb03b118867a02296d7449019ad8846') build() { - cd $srcdir/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver if [ "${CARCH}" = "x86_64" ]; then - ./configure --prefix=/usr --without-x86emu || return 1 + ./configure --prefix=/usr --without-x86emu else - ./configure --prefix=/usr || return 1 + ./configure --prefix=/usr fi - make LIBS=-lpci || return 1 - make DESTDIR=$pkgdir install || return 1 + make LIBS=-lpci } +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} diff --git a/community/wmname/PKGBUILD b/community/wmname/PKGBUILD index 83887bce0..e9c75101e 100644 --- a/community/wmname/PKGBUILD +++ b/community/wmname/PKGBUILD @@ -1,21 +1,25 @@ -# Contributer: Vincent Kriek <vincent@vincentkriek.nl> +# $Id: PKGBUILD 55541 2011-09-14 08:07:38Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Vincent Kriek <vincent@vincentkriek.nl> pkgname=wmname pkgver=0.1 -pkgrel=1 -pkgdesc="A utility to set the name of your window manager" +pkgrel=2 +pkgdesc="An utility to set the name of your window manager" url="http://www.suckless.org/programs/wmname.html" license=('custom') -depends=(libx11) +depends=('libx11') arch=('i686' 'x86_64') -source=('http://code.suckless.org/dl/tools/wmname-0.1.tar.gz') +source=("http://dl.suckless.org/tools/wmname-$pkgver.tar.gz") md5sums=('6903d299f84d335e529fbd2c1d6e49fe') build() { - cd $srcdir/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver + make +} - ./configure --prefix=/usr - make || return 1 - make PREFIX=$startdir/pkg/usr install || return 1 - install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +package() { + cd "${srcdir}"/$pkgname-$pkgver + make PREFIX="${pkgdir}"/usr install + install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE } diff --git a/community/xosd/PKGBUILD b/community/xosd/PKGBUILD index 688f6f92b..e604b97e3 100644 --- a/community/xosd/PKGBUILD +++ b/community/xosd/PKGBUILD @@ -1,29 +1,30 @@ -# $Id: PKGBUILD 41448 2009-06-04 02:08:19Z eric $ -# Maintainer: damir <damir@archlinux.org> +# $Id: PKGBUILD 55535 2011-09-14 07:50:30Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Damir Perisa <damir.perisa@bluewin.ch> pkgname=xosd pkgver=2.2.14 -pkgrel=3 -pkgdesc="XOSD displays text on your screen. On-Screen-Display-libs for some tools." -arch=("i686" "x86_64") +pkgrel=4 +pkgdesc="Displays text on your screen. On-Screen-Display-libs for some tools" +arch=('i686' 'x86_64') license=('GPL2') url="http://www.ignavus.net/software.html" -depends=('libxt' 'libxinerama') +depends=('libxt' 'libxinerama' 'sh') makedepends=('xmms' 'bmp' 'gdk-pixbuf') optdepends=('gdk-pixbuf: for using the bmp or xmms plugin') -options=(!libtool) -#source=("http://www.ignavus.net/xosd-$pkgver.tar.bz2") -source=("http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_$pkgver.orig.tar.gz") +options=('!libtool') +source=("http://downloads.sourceforge.net/libxosd/${pkgname}-${pkgver}.tar.gz") md5sums=('4b349fe930e4eee2f504d6c02673e24d') build() { - cd "$srcdir/xosd-$pkgver" - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 - sed -i 's/AC_DEFUN(AM_PATH_LIBXOSD,/AC_DEFUN([AM_PATH_LIBXOSD],/' \ - "$pkgdir/usr/share/aclocal/libxosd.m4" || return 1 + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man + make } - +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + sed -i 's/AC_DEFUN(AM_PATH_LIBXOSD,/AC_DEFUN([AM_PATH_LIBXOSD],/' \ + "$pkgdir/usr/share/aclocal/libxosd.m4" +} diff --git a/community/xxkb/PKGBUILD b/community/xxkb/PKGBUILD index c093c1b81..4bcf2b771 100644 --- a/community/xxkb/PKGBUILD +++ b/community/xxkb/PKGBUILD @@ -1,40 +1,42 @@ -# $Id: PKGBUILD 1001 2009-08-11 09:14:06Z spupykin $ +# $Id: PKGBUILD 55567 2011-09-14 10:23:32Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=xxkb pkgver=1.11 -pkgrel=3 +pkgrel=4 pkgdesc="keyboard layout switcher/indicator" -arch=(i686 x86_64) -url="http://sf.net/projects/xxkb/" -license=(PerlArtistic) -depends=(libxpm) -makedepends=(patch imake) -source=(http://downloads.sourceforge.net/xxkb/xxkb-$pkgver-src.tar.gz - XXkb \ - en22.xpm \ - ru22.xpm) +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/xxkb/" +license=('PerlArtistic') +depends=('libxpm') +makedepends=('imake') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver-src.tar.gz" + XXkb + en22.xpm + ru22.xpm) md5sums=('c2e5c7f3285033f0e26b358ef95a7c89' 'f181b7a017d3d2524ecf10638317d341' '649c6d378fe12853d457b768bd273dc5' 'f1692f0be5fc697b3b792d0098bdb42f') build() { - cd $srcdir/xxkb + cd "${srcdir}"/${pkgname} xmkmf - make PROJECTROOT=/usr PIXMAPDIR=/usr/share/$pkgname LOCAL_LIBRARIES='-lXext -lXt -lXpm' || return 1 + make PROJECTROOT=/usr PIXMAPDIR=/usr/share/$pkgname LOCAL_LIBRARIES='-lXext -lXt -lXpm' +} +package() { + cd "${srcdir}"/${pkgname} install -d $pkgdir/usr/bin install -d $pkgdir/usr/share/$pkgname install -d $pkgdir/usr/man/man1 install -d $pkgdir/usr/share/X11/app-defaults - install -m 0755 xxkb $pkgdir/usr/bin && \ - install -m 0644 ../XXkb $pkgdir/usr/share/X11/app-defaults/XXkb && \ - install -m 0644 pixmaps/*.xpm $pkgdir/usr/share/$pkgname && \ - install -m 0644 $pkgname.man $pkgdir/usr/man/man1/$pkgname.1 && \ - install -m 0644 ../*.xpm $pkgdir/usr/share/$pkgname/ || return 1 + install -m 0755 xxkb $pkgdir/usr/bin + install -m 0644 ../XXkb $pkgdir/usr/share/X11/app-defaults/XXkb + install -m 0644 pixmaps/*.xpm $pkgdir/usr/share/$pkgname + install -m 0644 $pkgname.man $pkgdir/usr/man/man1/$pkgname.1 + install -m 0644 ../*.xpm $pkgdir/usr/share/$pkgname/ mv $pkgdir/usr/man $pkgdir/usr/share/ } |