From 223ca251f3ce07eb5484be845e631d6ca645b263 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Apr 2012 00:01:08 +0000 Subject: Tue Apr 10 00:01:08 UTC 2012 --- community/aria2/PKGBUILD | 12 +++++-- community/bird/PKGBUILD | 8 ++--- community/ccid/PKGBUILD | 12 +++---- community/chmsee/PKGBUILD | 13 ++++---- community/chmsee/chmsee | 2 +- community/drbd/PKGBUILD | 29 ++++++++--------- community/drbd/drbd.rc | 4 +-- community/gambas3/PKGBUILD | 33 +++++++++++++++----- community/gnome-subtitles/PKGBUILD | 38 +++++++++++++++++++++++ community/gnome-subtitles/fix-help.patch | 31 ++++++++++++++++++ community/gnome-subtitles/gnome-subtitles.install | 22 +++++++++++++ community/hitori/PKGBUILD | 28 +++++++++++++++++ community/hitori/hitori.install | 11 +++++++ community/ipvsadm/PKGBUILD | 26 +++++++++------- community/ipvsadm/ipvsadm.rc | 6 ++-- community/kadu/PKGBUILD | 9 +++--- community/kadu/kadu.install | 12 +++++++ community/linux-tools/PKGBUILD | 16 +++++----- community/love/PKGBUILD | 15 ++++----- community/ncmpcpp/PKGBUILD | 22 ++++++------- community/pcsclite/PKGBUILD | 6 ++-- community/radvd/PKGBUILD | 9 +++--- community/radvd/radvd.rc | 5 ++- community/vhba-module/PKGBUILD | 10 +++--- community/windowlab/PKGBUILD | 14 +++++---- 25 files changed, 285 insertions(+), 108 deletions(-) create mode 100644 community/gnome-subtitles/PKGBUILD create mode 100644 community/gnome-subtitles/fix-help.patch create mode 100644 community/gnome-subtitles/gnome-subtitles.install create mode 100644 community/hitori/PKGBUILD create mode 100644 community/hitori/hitori.install create mode 100644 community/kadu/kadu.install (limited to 'community') diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD index 5111715b2..79ac592da 100644 --- a/community/aria2/PKGBUILD +++ b/community/aria2/PKGBUILD @@ -4,16 +4,16 @@ # Contributor: Daniel J Griffiths pkgname=aria2 -pkgver=1.14.2 +pkgver=1.15.0 pkgrel=1 pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' arch=('i686' 'x86_64') url='http://aria2.sourceforge.net/' license=('GPL') -depends=('gnutls' 'libxml2' 'sqlite3' 'c-ares' 'ca-certificates') +depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates') checkdepends=('cppunit') source=("http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2") -md5sums=('19b1a9f83a09c6ef5c7ab87e4e0f7974') +md5sums=('a381b8a0fe2d71f726187237ac6de82d') build() { cd aria2-${pkgver} @@ -35,4 +35,10 @@ package() { cd aria2-${pkgver} make DESTDIR=${pkgdir} install + + # add bash completion (aria2 automatically installs to a temporary target directory) + install -d ${pkgdir}/usr/share/bash-completion/completions + install -m644 ${pkgdir}/usr/share/doc/aria2/bash_completion/aria2c \ + ${pkgdir}/usr/share/bash-completion/completions + rm -rf ${pkgdir}/usr/share/doc/aria2/bash_completion } diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD index 18ca7041a..084182dfa 100644 --- a/community/bird/PKGBUILD +++ b/community/bird/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 68377 2012-03-23 13:38:01Z seblu $ +# $Id: PKGBUILD 69079 2012-04-08 23:33:54Z seblu $ # Maintainer: Sébastien Luttringer pkgbase=bird pkgname=('bird' 'bird6') pkgver=1.3.7 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://bird.network.cz/' license=('GPL2') @@ -52,7 +52,7 @@ package_bird () { install -D -m 755 "$srcdir/bird.rc" "$pkgdir/etc/rc.d/bird" install -D -m 644 "$srcdir/bird.conf" "$pkgdir/etc/conf.d/bird" # systemd file - install -D -m 644 "$srcdir/bird.service" "$pkgdir/lib/systemd/system/bird.service" + install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" } package_bird6 () { @@ -71,7 +71,7 @@ package_bird6 () { install -D -m 644 "$srcdir/bird.conf" "$pkgdir/etc/conf.d/bird6" sed -i 's/bird/bird6/' "$pkgdir/etc/rc.d/bird6" # systemd config file - install -D -m 644 "$srcdir/bird6.service" "$pkgdir/lib/systemd/system/bird6.service" + install -D -m 644 "$srcdir/bird6.service" "$pkgdir/usr/lib/systemd/system/bird6.service" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ccid/PKGBUILD b/community/ccid/PKGBUILD index aaa13e93f..30efba6ed 100644 --- a/community/ccid/PKGBUILD +++ b/community/ccid/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 59246 2011-11-21 21:28:58Z giovanni $ +# $Id: PKGBUILD 69070 2012-04-08 22:56:25Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Daniel Plaza pkgname=ccid -pkgver=1.4.5 -pkgrel=2 +pkgver=1.4.6 +pkgrel=1 pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" arch=('i686' 'x86_64') url="http://pcsclite.alioth.debian.org/ccid.html" license=('LGPL' 'GPL') -depends=('pcsclite') +depends=('pcsclite' 'libusb') makedepends=('pkg-config') backup=(etc/reader.conf.d/libccidtwin) -source=("https://alioth.debian.org/frs/download.php/3672/${pkgname}-${pkgver}.tar.bz2") -md5sums=('cb9a77194ac335c39b262ea83a5b7d2e') +source=("https://alioth.debian.org/frs/download.php/3711/${pkgname}-${pkgver}.tar.bz2") +md5sums=('3600dfbc74efb321c37de15a64efbbe6') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index b2dd28916..1d413f207 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 67882 2012-03-15 16:59:01Z lcarlier $ +# $Id: PKGBUILD 69020 2012-04-08 08:25:21Z lcarlier $ # Maintainer : Laurent Carlier # Contributor: dionydonny # Contributor: Ermanno pkgname=chmsee -pkgver=1.99.08 -pkgrel=3 +pkgver=1.99.09 +pkgrel=1 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" @@ -15,15 +15,14 @@ makedepends=('python2') source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver chmsee) install=chmsee.install -md5sums=('9e54b72761f8e97e683c03e52ac1ac6c' - 'abc127caca8bccf9ac51cf937b75d0c2') +md5sums=('f0ee2a87ffd3f6667d88eb89c31387e4' + '242a9390bc943cc38237fa71137fb26c') build() { cd ${srcdir}/jungleji-chmsee-*/src cp Makefile.arch Makefile - #sed -i -e 's/python/python2/g' common.mk - sed -i -e 's/10.*/11.*/g' ../application.ini + #sed -i -e 's/10.*/11.*/g' ../application.ini make } diff --git a/community/chmsee/chmsee b/community/chmsee/chmsee index d11f9c740..65a1e195b 100644 --- a/community/chmsee/chmsee +++ b/community/chmsee/chmsee @@ -1,4 +1,4 @@ #!/bin/sh cd /usr/share/chmsee/ -xulrunner /usr/share/chmsee/application.ini $@ +xulrunner /usr/share/chmsee/application.ini "$@" cd - diff --git a/community/drbd/PKGBUILD b/community/drbd/PKGBUILD index 435047626..970a0d180 100644 --- a/community/drbd/PKGBUILD +++ b/community/drbd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68283 2012-03-21 09:58:34Z seblu $ +# $Id: PKGBUILD 69076 2012-04-08 23:26:43Z seblu $ # Maintainer: Sébastien Luttringer pkgname=drbd pkgver=8.3.11 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') pkgdesc='Userland tools for drbd block devices' url='http://www.drbd.org' @@ -13,7 +13,7 @@ source=("http://oss.linbit.com/drbd/8.3/$pkgname-$pkgver.tar.gz" '01-remove-old-sanity-check.diff') backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf') md5sums=('e47a35a80143b72e9708844efbe2e608' - '19236c6fe7a8c9191d67a4df15892b78' + '6a91609fcd69b435a2a96599f07ad856' '24144d23b31f9ce66929fe989247c779') build() { @@ -41,20 +41,21 @@ build() { package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - - # move udev files to the right place - install -d -m 755 "$pkgdir/lib" - mv "$pkgdir/etc/udev" "$pkgdir/lib" - - # move bash completion in right place + # move forced /sbin binaries and fix harcoded path + mv "$pkgdir/sbin"/* "$pkgdir/usr/sbin" + rmdir "$pkgdir/sbin" + sed -i 's,/sbin/drbdadm,/usr/sbin/drbdadm,' \ + "$pkgdir/etc/udev/rules.d/65-drbd.rules" + # move udev files + mv "$pkgdir/etc/udev" "$pkgdir/usr/lib" + # move bash completion install -d -m 755 "$pkgdir/usr/share/bash-completion" - mv "$pkgdir/etc/bash_completion.d" "$pkgdir/usr/share/bash-completion/completions" - + mv "$pkgdir/etc/bash_completion.d" \ + "$pkgdir/usr/share/bash-completion/completions" # remove /var/lock rmdir "$pkgdir/var/lock" - - # replace - install -D -m 755 "$srcdir/$pkgname.rc" "$pkgdir/etc/rc.d/$pkgname" + # setup initscript (replace) + install -D -m 755 ../$pkgname.rc "$pkgdir/etc/rc.d/$pkgname" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/drbd/drbd.rc b/community/drbd/drbd.rc index 7aca1f394..893ce3e20 100644 --- a/community/drbd/drbd.rc +++ b/community/drbd/drbd.rc @@ -4,7 +4,7 @@ . /etc/rc.conf . /etc/rc.d/functions -DRBDADM='/sbin/drbdadm' +DRBDADM='/usr/sbin/drbdadm' PROC_DRBD='/proc/drbd' check_config() { @@ -50,7 +50,7 @@ case "$1" in $0 start ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart}" esac exit 0 diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD index 5e14159e5..dcd050176 100644 --- a/community/gambas3/PKGBUILD +++ b/community/gambas3/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 69006 2012-04-07 17:03:44Z lcarlier $ +# $Id: PKGBUILD 69042 2012-04-08 17:05:00Z lcarlier $ # Maintainer: Laurent Carlier pkgbase=gambas3 pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gambas3-examples' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-dbus' 'gambas3-gb-compress' 'gambas3-gb-crypt' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' 'gambas3-gb-db-sqlite3' - 'gambas3-gb-desktop' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' - 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-form-stock' 'gambas3-gb-gtk' 'gambas3-gb-gui' 'gambas3-gb-image' + 'gambas3-gb-desktop' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' + 'gambas3-gb-form-stock' 'gambas3-gb-gsl' 'gambas3-gb-gtk' 'gambas3-gb-gui' 'gambas3-gb-image' 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-smtp' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-glsl' 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-pdf' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit' 'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') -pkgver=3.0.0 -pkgrel=5 +pkgver=3.1.0 +pkgrel=1 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net/" @@ -23,11 +23,12 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils 'zlib' 'mesa' 'libgl' 'glew' 'xdg-utils' 'gtk2' 'imlib2' 'gdk-pixbuf2' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite2' 'sqlite' 'librsvg' 'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'libxtst' 'pcre' 'qtwebkit' - 'libxcursor' 'libsm' 'dbus-core' 'libxml2' 'libxslt' 'libgnome-keyring') + 'libxcursor' 'libsm' 'dbus-core' 'libxml2' 'libxslt' 'libgnome-keyring' + 'gsl') options=('!emptydirs' '!makeflags') source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2" 'gambas3-script.install' 'gambas3-runtime.install') -md5sums=('f2c51e18b67ae6b21065ea0aed9b588e' +md5sums=('e41982c83e8b27bd2cba8fe8c173b979' 'b284be39d147ec799f1116a6abc068b4' 'b5cc403990f31b8ea1c5cf37366d3d29') @@ -551,6 +552,24 @@ package_gambas3-gb-gtk() { ## } +package_gambas3-gb-gsl() { + depends=('gambas3-runtime' 'gsl') + pkgdesc="The GNU Scientific Library component" + + ## workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + cd ${srcdir}/${pkgbase}-${pkgver}/gb.gsl + make XDG_UTILS='' DESTDIR="${pkgdir}" install + + ## cleanup the workaround + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + ## +} + package_gambas3-gb-gui() { depends=('gambas3-gb-qt4' 'gambas3-gb-gtk') pkgdesc="Automatic gui toolkit chooser" diff --git a/community/gnome-subtitles/PKGBUILD b/community/gnome-subtitles/PKGBUILD new file mode 100644 index 000000000..b2f9fc5d9 --- /dev/null +++ b/community/gnome-subtitles/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 69058 2012-04-08 21:20:04Z bgyorgy $ +# Maintainer: Balló György + +pkgname=gnome-subtitles +pkgver=1.2 +pkgrel=3 +pkgdesc="Video subtitle editor for GNOME" +arch=('i686' 'x86_64') +url="http://gnomesubtitles.org/" +license=('GPL') +depends=('gstreamer0.10-base-plugins' 'gconf-sharp' 'gtkspell' 'desktop-file-utils') +makedepends=('intltool' 'gnome-doc-utils') +optdepends=('gstreamer0.10-good-plugins: Extra media codecs' + 'gstreamer0.10-bad-plugins: Extra media codecs' + 'gstreamer0.10-ugly-plugins: Extra media codecs' + 'gstreamer0.10-ffmpeg: Extra media codecs') +options=('!libtool') +install=$pkgname.install +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + fix-help.patch) +md5sums=('b7f3175b7a189471821d809171121d62' + '7645bc18812ea52137adddd6e87942d5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/fix-help.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-install --disable-scrollkeeper \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/gnome-subtitles/fix-help.patch b/community/gnome-subtitles/fix-help.patch new file mode 100644 index 000000000..e888bfb41 --- /dev/null +++ b/community/gnome-subtitles/fix-help.patch @@ -0,0 +1,31 @@ +From 0b66f14b812bb83ca149bc29906716c17f388da1 Mon Sep 17 00:00:00 2001 +From: Pedro Castro +Date: Sat, 10 Mar 2012 11:32:28 +0000 +Subject: Fix #671567 (Fix opening help), based on a patch from György Balló. + +Fix keyboard shortcuts url. +--- +diff --git a/src/GnomeSubtitles/Core/EventHandlers.cs b/src/GnomeSubtitles/Core/EventHandlers.cs +index 014fc54..6de82b0 100644 +--- a/src/GnomeSubtitles/Core/EventHandlers.cs ++++ b/src/GnomeSubtitles/Core/EventHandlers.cs +@@ -392,15 +392,11 @@ public class EventHandlers { + /* Help Menu */ + + public void OnHelpContents (object o, EventArgs args) { +- const string arg = "ghelp:gnome-subtitles"; +- if ((!Util.OpenUrl("gnome-help " + arg)) && (!Util.OpenUrl("yelp " + arg))) { +- BasicErrorDialog errorDialog = new BasicErrorDialog(Catalog.GetString("The Gnome Subtitles Manual could not be found."), Catalog.GetString("Please verify that your installation has been completed successfully.")); +- errorDialog.Show(); +- } ++ Util.OpenUrl("ghelp:gnome-subtitles"); + } + + public void OnHelpKeyboardShortcuts (object o, EventArgs args) { +- Util.OpenUrl("http://gnome-subtitles.sourceforge.net/shortcuts"); ++ Util.OpenUrl("http://gnomesubtitles.org/shortcuts"); + } + + public void OnHelpRequestFeature (object o, EventArgs args) { +-- +cgit v0.9.0.2 diff --git a/community/gnome-subtitles/gnome-subtitles.install b/community/gnome-subtitles/gnome-subtitles.install new file mode 100644 index 000000000..adb0ba085 --- /dev/null +++ b/community/gnome-subtitles/gnome-subtitles.install @@ -0,0 +1,22 @@ +pkgname=gnome-subtitles + +post_install() { + gconfpkg --install $pkgname + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + update-desktop-database -q +} diff --git a/community/hitori/PKGBUILD b/community/hitori/PKGBUILD new file mode 100644 index 000000000..99afb9dd3 --- /dev/null +++ b/community/hitori/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 69054 2012-04-08 19:56:12Z bgyorgy $ +# Maintainer: Balló György + +pkgname=hitori +pkgver=0.3.2 +pkgrel=1 +pkgdesc="GTK+ application to generate and let you play games of Hitori" +arch=('i686' 'x86_64') +url="https://live.gnome.org/Hitori" +license=('GPL') +depends=('gtk3' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool' 'gnome-doc-utils') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('9e72bb0c84b0e0b66a96fcee6918cf15832f45458df4d8dd5f8091a20bba4350') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/hitori/hitori.install b/community/hitori/hitori.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/hitori/hitori.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/ipvsadm/PKGBUILD b/community/ipvsadm/PKGBUILD index 94a0e668c..a8126aca1 100644 --- a/community/ipvsadm/PKGBUILD +++ b/community/ipvsadm/PKGBUILD @@ -1,43 +1,47 @@ -# $Id: PKGBUILD 66312 2012-02-23 14:03:04Z allan $ +# $Id: PKGBUILD 69082 2012-04-09 02:20:59Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Judd Vinet pkgname=ipvsadm pkgver=1.26 -pkgrel=3 +pkgrel=4 pkgdesc='The IP Virtual Server administration utility' arch=('i686' 'x86_64') url='http://www.linuxvirtualserver.org/software/ipvs.html' license=('GPL2') depends=('libnl1' 'popt') backup=('etc/conf.d/ipvsadm') -#options=('!makeflags') source=("http://www.linuxvirtualserver.org/software/kernel-2.6/$pkgname-$pkgver.tar.gz" 'ipvsadm.rc' 'ipvsadm.conf' 'ipvsadm.rules' '01-fix-not-showing-all-server.patch') md5sums=('eac3ba3f62cd4dea2da353aeddd353a8' - '0e106fce0675e014bea0f9355b947bd6' + '89b15096bb243dc694b6c5d4200561fd' 'cd358130967a9cc0d31fc61282df43e7' 'cd6649c647e495d4d6f981542ce5a93b' 'e9fb77d2fbe2d3f41d60257316338543') build() { - cd ${pkgname}-${pkgver} + cd $pkgname-$pkgver patch -p1 -i ../01-fix-not-showing-all-server.patch - make INCLUDE="-I/usr/src/linux-`uname -r`/include -I.. -I." || return 1 + make INCLUDE="-I/usr/src/linux-$(uname -r)/include -I.. -I." } package() { - cd ${pkgname}-${pkgver} - make BUILD_ROOT=${pkgdir} MANDIR=usr/share/man INIT="$pkgdir/etc/rc.d" install + cd $pkgname-$pkgver + make \ + BUILD_ROOT="$pkgdir" \ + MANDIR=usr/share/man \ + SBIN="$pkgdir/usr/sbin" \ + INIT="$pkgdir/etc/rc.d" \ + install cd "$srcdir" # add initscripts - install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" - install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" + install -D -m 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" + install -D -m 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" # add ipvsadm rules - install -D -m 644 $pkgname.rules "${pkgdir}/etc/$pkgname.rules" + install -D -m 644 $pkgname.rules "$pkgdir/etc/$pkgname.rules" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ipvsadm/ipvsadm.rc b/community/ipvsadm/ipvsadm.rc index 91ed32e3b..5a9614106 100644 --- a/community/ipvsadm/ipvsadm.rc +++ b/community/ipvsadm/ipvsadm.rc @@ -7,7 +7,7 @@ case "$1" in start) stat_busy 'Loading IPVS table' - if [[ -f $IPVSADM_CONF ]] && /sbin/ipvsadm-restore < "$IPVSADM_CONF"; then + if [[ -f $IPVSADM_CONF ]] && ipvsadm-restore < "$IPVSADM_CONF"; then add_daemon ipvsadm stat_done else @@ -15,7 +15,7 @@ case "$1" in fi ;; stop) - status 'Clearing IPVS table' /sbin/ipvsadm -C + status 'Clearing IPVS table' ipvsadm -C rm_daemon ipvsadm ;; restart) @@ -25,7 +25,7 @@ case "$1" in ;; save) stat_busy 'Saving IPVS table' - if /sbin/ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then + if ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then stat_done else stat_fail diff --git a/community/kadu/PKGBUILD b/community/kadu/PKGBUILD index 7a34c23b4..01e488c1b 100644 --- a/community/kadu/PKGBUILD +++ b/community/kadu/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 66946 2012-03-02 16:54:51Z bpiotrowski $ +# $Id: PKGBUILD 69022 2012-04-08 09:21:56Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Mateusz Herych # Contributor: Jaroslaw Swierczynski pkgname=kadu -pkgver=0.11.1 +pkgver=0.11.2 pkgrel=1 pkgdesc="A Qt-based Jabber/XMPP and Gadu-Gadu client" arch=('i686' 'x86_64') url="http://www.kadu.net/" license=('GPL') -depends=('libgadu' 'libxss' 'aspell' 'phonon' 'qca-ossl' 'libidn' 'libmpdclient' 'qtwebkit') +depends=('libgadu' 'libxss' 'aspell' 'phonon' 'qca-ossl' 'libidn' 'libmpdclient' 'qtwebkit' 'xdg-utils') makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl') +install=kadu.install source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2) -md5sums=('30c239876fd0fd4eadb874c3cb2ebe10') +md5sums=('ddfe05f1c947e9ff897f37804ecbd7d4') build() { cd "$srcdir" diff --git a/community/kadu/kadu.install b/community/kadu/kadu.install new file mode 100644 index 000000000..f32ae9d17 --- /dev/null +++ b/community/kadu/kadu.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index bbf7b14d2..c7e58b150 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68213 2012-03-19 11:50:40Z seblu $ +# $Id: PKGBUILD 69068 2012-04-08 22:52:23Z seblu $ # Maintainer: Sébastien Luttringer pkgbase=linux-tools @@ -6,7 +6,7 @@ pkgname=('perf' 'cpupower') pkgver=3.3 kernver=${pkgver} [[ ${kernver##*rc} != $kernver ]] && testing='testing' -pkgrel=1 +pkgrel=2 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -51,18 +51,18 @@ package_cpupower() { depends=('pciutils') conflicts=('cpufrequtils') - # install rc.d script - install -D -m 755 cpupower.rc "$pkgdir/etc/rc.d/cpupower" - install -D -m 644 cpupower.conf "$pkgdir/etc/conf.d/cpupower" - install -D -m 644 cpupower.service "$pkgdir/lib/systemd/system/cpupower.service" - cd linux-$kernver/tools/power/cpupower make \ DESTDIR="$pkgdir" \ - INSTALL='/bin/install -c' \ mandir='/usr/share/man' \ docdir='/usr/share/doc/cpupower' \ install install-man + # install rc.d script + cd "$srcdir" + install -D -m 755 cpupower.rc "$pkgdir/etc/rc.d/cpupower" + install -D -m 644 cpupower.conf "$pkgdir/etc/conf.d/cpupower" + install -D -m 644 cpupower.service "$pkgdir/usr/lib/systemd/system/cpupower.service" + } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/love/PKGBUILD b/community/love/PKGBUILD index 68bb4d8ce..0fc743ccc 100644 --- a/community/love/PKGBUILD +++ b/community/love/PKGBUILD @@ -3,20 +3,20 @@ # Contributor: Eric Forgeot < http://anamnese.online.fr >, dreeze pkgname=love pkgver=0.8.0 -pkgrel=1 -pkgdesc="An open-source 2D game engine which uses the versatile Lua scripting language to create dynamic gaming experiences." +pkgrel=2 +pkgdesc="An open-source 2D game engine which uses the versatile Lua scripting language to create dynamic gaming experiences" arch=(i686 x86_64) url="http://love2d.org/" license=('zlib') depends=('luajit' 'physfs' 'freetype2' 'devil' 'mpg123' 'openal' 'libvorbis' 'libmodplug' 'sdl' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils') install=love.install -source=("https://bitbucket.org/rude/love/get/e0f98d53debb.tar.bz2" +source=("https://bitbucket.org/rude/love/downloads/love-${pkgver}-linux-src.tar.gz" "https://bitbucket.org/rude/love/raw/$pkgver/license.txt" "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/app.svg" "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/game.svg" "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/love.desktop" "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/love.xml") -md5sums=('e21fa52d906f9f5f76dfbb0ce6b60121' +md5sums=('9db9c32585fc7c7da3eba7e438783099' 'a4890908149d91bc042b30d00c121c58' 'a1e19f91420cc519a683af360f5b1120' '16f2ecc899c9ffc8b7b7c807f8967861' @@ -24,14 +24,15 @@ md5sums=('e21fa52d906f9f5f76dfbb0ce6b60121' 'b4f00fb1cb80057a0a371a994100d418') build() { - cd "$srcdir"/rude-love-* - ./platform/unix/automagic + cd "$srcdir"/love-$pkgver + #./platform/unix/automagic ./configure --prefix=/usr --with-luajit #LDFLAGS="$LDFLAGS -Wl,--no-as-needed" make } package() { - cd "$srcdir"/rude-love-* + cd "$srcdir"/love-$pkgver + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir/usr/share/licenses/$pkgname" diff --git a/community/ncmpcpp/PKGBUILD b/community/ncmpcpp/PKGBUILD index b973aa694..b79032d06 100644 --- a/community/ncmpcpp/PKGBUILD +++ b/community/ncmpcpp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 68325 2012-03-21 19:23:07Z bpiotrowski $ -# Maintainer: Mateusz Herych -# Maintainer: Bartłomiej Piotrowski +# $Id: PKGBUILD 69024 2012-04-08 09:31:15Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Mateusz Herych # Contributor: Army pkgname=ncmpcpp -pkgver=0.5.9 +pkgver=0.5.10 pkgrel=1 pkgdesc="An almost exact clone of ncmpc with some new features." arch=('i686' 'x86_64') @@ -13,16 +13,16 @@ license=('GPL') depends=('curl' 'libmpdclient' 'taglib' 'ncurses') install=ncmpcpp.install source=(http://unkart.ovh.org/ncmpcpp/${pkgname}-${pkgver}.tar.bz2) -md5sums=('07f62d6574d0dcc99cad84adb9754203') +md5sums=('298ed66325bcfe358e37e186c7ea4861') build() { cd "$srcdir/${pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --enable-unicode \ - --enable-clock \ - --with-taglib \ - --enable-outputs \ - --with-curl + ./configure --prefix=/usr \ + --enable-unicode \ + --enable-clock \ + --with-taglib \ + --enable-outputs \ + --with-curl make } diff --git a/community/pcsclite/PKGBUILD b/community/pcsclite/PKGBUILD index b7371be87..714495250 100644 --- a/community/pcsclite/PKGBUILD +++ b/community/pcsclite/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 68679 2012-03-31 14:28:34Z giovanni $ +# $Id: PKGBUILD 69074 2012-04-08 23:10:15Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Daniel Plaza pkgname=pcsclite pkgver=1.8.3 -pkgrel=1 +pkgrel=2 pkgdesc="PC/SC Architecture smartcard middleware library" arch=('i686' 'x86_64') url="https://alioth.debian.org/projects/pcsclite/" @@ -25,7 +25,7 @@ build() { --sysconfdir=/etc \ --enable-ipcdir=/run/pcscd \ --enable-usbdropdir=/usr/lib/pcsc/drivers \ - --with-systemdsystemunitdir=/lib/systemd/system + --with-systemdsystemunitdir=/usr/lib/systemd/system make } diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD index f995de0ae..f70330c26 100644 --- a/community/radvd/PKGBUILD +++ b/community/radvd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 67688 2012-03-13 21:44:10Z seblu $ +# $Id: PKGBUILD 69072 2012-04-08 22:59:52Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Kaiting Chen # Contributor: Mark Smith pkgname=radvd pkgver=1.8.5 -pkgrel=2 +pkgrel=3 pkgdesc='IPv6 Router Advertisement Daemon' url='http://www.litech.org/radvd/' license=('custom') @@ -17,10 +17,9 @@ source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" "$pkgname.conf" "$pkgname.service") sha1sums=('344c145bd29938b7eefb0210cf92bf18df3e191d' - '9acb452eede739ca6ce42c9470e8bf258a3dddf4' + 'efe02c38eac45bed065fd48c1e3e7753c90c7c2a' '63ce41d790a0472e6b3b15928f6a71d1dbb7700d' '9cb6b2eaaf445fe8d17dfc50fde15709d4de7d1d') - build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --with-pidfile=/run/radvd.pid \ @@ -42,7 +41,7 @@ package() { install -D -m 755 ../$pkgname.rc "$pkgdir/etc/rc.d/$pkgname" install -D -m 644 ../$pkgname.conf "$pkgdir/etc/conf.d/$pkgname" install -D -m 644 ../$pkgname.service \ - "$pkgdir/lib/systemd/system/$pkgname.service" + "$pkgdir/usr/lib/systemd/system/$pkgname.service" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/radvd/radvd.rc b/community/radvd/radvd.rc index fdd9ee8ce..26ad0dbf4 100644 --- a/community/radvd/radvd.rc +++ b/community/radvd/radvd.rc @@ -8,7 +8,10 @@ NAME='IPv6 Router Advertisement Daemon' DAEMON=/usr/sbin/radvd PIDFILE=${PIDFILE:-/run/${0##*/}.pid} DAEMON_OPTS+=("--pidfile=$PIDFILE") -[[ -r "$PIDFILE" ]] && read PID < "$PIDFILE" + +# check pid file +[[ -r "$PIDFILE" ]] && + read PID < "$PIDFILE" && [[ -n $PID ]] && kill -0 $PID || unset PID case "$1" in start) diff --git a/community/vhba-module/PKGBUILD b/community/vhba-module/PKGBUILD index c79ca4bec..f03b6d279 100644 --- a/community/vhba-module/PKGBUILD +++ b/community/vhba-module/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 68509 2012-03-26 09:56:23Z schiv $ +# $Id: PKGBUILD 69027 2012-04-08 10:57:34Z ibiru $ # Maintainer: Ray Rashif # Contributor: Mateusz Herych # Contributor: Charles Lindsay pkgname=vhba-module pkgver=20110915 -_extramodules=extramodules-3.2-ARCH -pkgrel=5 +_extramodules=extramodules-3.3-ARCH +pkgrel=6 pkgdesc="Kernel module that emulates SCSI devices" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" license=('GPL') -depends=('linux>=3.2' 'linux<3.3') -makedepends=('linux-headers>=3.2') +depends=('linux>=3.3' 'linux<3.4') +makedepends=('linux-headers>=3.3') install=$pkgname.install source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2" '60-vhba.rules') diff --git a/community/windowlab/PKGBUILD b/community/windowlab/PKGBUILD index d126cc250..f2bf963fc 100644 --- a/community/windowlab/PKGBUILD +++ b/community/windowlab/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 67590 2012-03-13 12:48:45Z giovanni $ +# $Id: PKGBUILD 69029 2012-04-08 11:16:33Z giovanni $ # Maintainer: Jaroslav Lichtblau # Contributor: Jeff Mickey # Contributor: phrakture @@ -6,7 +6,7 @@ pkgname=windowlab pkgver=1.40 -pkgrel=2 +pkgrel=3 pkgdesc="A small and simple window manager." arch=('i686' 'x86_64') url="http://www.nickgravgaard.com/windowlab" @@ -16,11 +16,13 @@ source=("http://www.nickgravgaard.com/windowlab/${pkgname}-${pkgver}.tar") md5sums=('346f8c187838a446b4cbb2326d035577') build() { - cd ${srcdir}/${pkgname}-${pkgver} - make PREFIX=/usr + cd ${srcdir}/${pkgname}-${pkgver} + + make PREFIX=/usr } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make PREFIX=/usr CONFPREFIX="" MANDIR=${pkgdir}/usr/share/man DESTDIR=${pkgdir} install + cd ${srcdir}/${pkgname}-${pkgver} + + make PREFIX=/usr CONFPREFIX="" MANDIR=${pkgdir}/usr/share/man/man1 DESTDIR=${pkgdir} install } -- cgit v1.2.3-54-g00ecf