diff options
author | root <root@rshg047.dnsready.net> | 2011-05-17 22:43:03 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-17 22:43:03 +0000 |
commit | 4a67ab8a761f1d0ef59988a513f9f2163f94a869 (patch) | |
tree | ef060a1cf768b53a89958df6252193bda9c86d25 /community | |
parent | 2f0d12506e7145c0fe4c056e4fbcda1e724dda95 (diff) |
Tue May 17 22:43:03 UTC 2011
Diffstat (limited to 'community')
-rw-r--r-- | community/libosip2/PKGBUILD | 10 | ||||
-rw-r--r-- | community/mypaint/PKGBUILD | 5 | ||||
-rw-r--r-- | community/mypaint/mypaint.install | 13 | ||||
-rw-r--r-- | community/nethogs/PKGBUILD | 28 | ||||
-rw-r--r-- | community/nethogs/gcc44.patch | 11 |
5 files changed, 60 insertions, 7 deletions
diff --git a/community/libosip2/PKGBUILD b/community/libosip2/PKGBUILD index fc59520bf..3e33d2ddb 100644 --- a/community/libosip2/PKGBUILD +++ b/community/libosip2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 19146 2010-06-21 08:41:34Z spupykin $ +# $Id: PKGBUILD 47083 2011-05-16 14:18:27Z jelle $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Michal Hybner <dta081@gmail.com> pkgname=libosip2 -pkgver=3.3.0 -pkgrel=2 +pkgver=3.5.0 +pkgrel=1 pkgdesc="oSIP is an implementation of SIP" arch=('i686' 'x86_64') url="http://www.gnu.org/software/osip/" @@ -12,7 +12,7 @@ license=('LGPL') depends=(glibc) options=(!emptydirs !libtool) source=(http://ftp.gnu.org/gnu/osip/libosip2-${pkgver/_/-}.tar.gz) -md5sums=('81493bb4d4ae6d55b71a0d4369339125') +md5sums=('7691546f6b3349d10007fc1aaff0f4e0') build() { cd $srcdir/libosip2-${pkgver/_/-}/ @@ -39,6 +39,6 @@ diff -wbBur libosip2-3.1.0/src/osip2/port_sema.c libosip2-3.1.0.my/src/osip2/por EOF ./configure --prefix=/usr --disable-semaphore --enable-sysv - make || return 1 + make make DESTDIR=$pkgdir install } diff --git a/community/mypaint/PKGBUILD b/community/mypaint/PKGBUILD index e4e86f510..0b64702d3 100644 --- a/community/mypaint/PKGBUILD +++ b/community/mypaint/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 41759 2011-03-08 20:17:20Z spupykin $ +# $Id: PKGBUILD 47074 2011-05-16 14:01:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jon Nordby <jononor@gmail.com> pkgname=mypaint pkgver=0.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics" arch=('i686' 'x86_64') url="http://mypaint.intilinux.com/" license=('GPL' 'LGPL') depends=('pygtk' 'python-numpy' 'protobuf-python' 'python2') makedepends=('scons>=0.97' 'swig>=1.3.39') +install=mypaint.install source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('6249a16359a438d6dc658f5765b35515') diff --git a/community/mypaint/mypaint.install b/community/mypaint/mypaint.install new file mode 100644 index 000000000..5f0358791 --- /dev/null +++ b/community/mypaint/mypaint.install @@ -0,0 +1,13 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime + [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + /bin/true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/nethogs/PKGBUILD b/community/nethogs/PKGBUILD new file mode 100644 index 000000000..b07aa4762 --- /dev/null +++ b/community/nethogs/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: ViNS <gladiator@fastwebnet.it> +# Contributor: Daenyth +pkgname=nethogs +pkgver=0.7.0 +pkgrel=3 +pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface" +url="http://nethogs.sourceforge.net" +license=(GPL) +depends=(libpcap ncurses gcc-libs) +arch=(i686 x86_64) +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc44.patch) +md5sums=('e5f04071571e469e14c89f637cfa34a2' + '62eb824fbbadd1c60d0749593c16d293') + +build() { + cd "$srcdir/$pkgname" + + sed -i '/sbin :=/ s/sbin/bin/g' Makefile + + # Patch the code to work with gcc 4.4 + patch -Np1 -i "$srcdir/gcc44.patch" + + make + install -d "$pkgdir/usr/{bin,share/man/man8}" + make DESTDIR="$pkgdir/usr" install +} +# vim:set ts=2 sw=2 et: diff --git a/community/nethogs/gcc44.patch b/community/nethogs/gcc44.patch new file mode 100644 index 000000000..7fedbf978 --- /dev/null +++ b/community/nethogs/gcc44.patch @@ -0,0 +1,11 @@ +diff -ruN nethogs-old/conninode.cpp nethogs/conninode.cpp +--- nethogs-old/conninode.cpp 2009-05-17 09:05:32.000000000 -0400 ++++ nethogs/conninode.cpp 2009-05-17 09:06:47.000000000 -0400 +@@ -1,6 +1,7 @@ + #include <netinet/in.h> + #include <map> + #include <stdlib.h> ++#include <cstdio> + + #include "nethogs.h" + #include "conninode.h" |