From 264f2be5f341b9946381d84ebaffc95f9199990b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Apr 2012 00:01:27 +0000 Subject: Tue Apr 24 00:01:27 UTC 2012 --- community/javasqlite/PKGBUILD | 17 ++++++------ community/mc/PKGBUILD | 6 ++--- community/mplayer2/PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++ community/mplayer2/mplayer2.install | 11 ++++++++ community/radvd/PKGBUILD | 6 ++--- community/radvd/radvd.rc | 39 +++++++++++++-------------- community/tcpflow/PKGBUILD | 10 +++---- 7 files changed, 102 insertions(+), 40 deletions(-) create mode 100644 community/mplayer2/PKGBUILD create mode 100644 community/mplayer2/mplayer2.install (limited to 'community') diff --git a/community/javasqlite/PKGBUILD b/community/javasqlite/PKGBUILD index c622da7e6..74e548fa0 100644 --- a/community/javasqlite/PKGBUILD +++ b/community/javasqlite/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 58850 2011-11-19 00:04:26Z guillaume $ +# $Id: PKGBUILD 69678 2012-04-22 12:35:52Z guillaume $ +# Maintainer: Guillaume ALAUX # Contributor: Jaroslaw Swierczynski pkgname=javasqlite -pkgver=20110827 +pkgver=20120209 pkgrel=1 pkgdesc="Java support for SQLite database engine" arch=('i686' 'x86_64') url="http://www.ch-werner.de/javasqlite/" -license=('BSD') -depends=('java-runtime<7') -makedepends=('java-environment<7' 'sqlite3') +license=('custom:BSD-style') +depends=('java-runtime' 'sqlite') +makedepends=('java-environment') options=('!libtool') source=(http://www.ch-werner.de/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('6fb577b1632425ddcf45f439886623b9') -sha1sums=('b64eb3955cfba2388dd0cda7a9d5a5ff46db22e9') +md5sums=('a5c4f7760ed002749560068b2bd4bb25') +sha1sums=('76aebb0a11b9e1f861ebaeab9ea3e5818b753ab3') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,5 +29,3 @@ package() { make DESTDIR="$pkgdir" install install -D -m 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -# vim:set ts=2 sw=2 et: diff --git a/community/mc/PKGBUILD b/community/mc/PKGBUILD index 2f3253f55..bd44690c8 100644 --- a/community/mc/PKGBUILD +++ b/community/mc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68243 2012-03-20 16:04:03Z schuay $ +# $Id: PKGBUILD 69681 2012-04-22 13:52:54Z schuay $ # Contributor: Daniel J Griffiths # Maintainer: schuay pkgname=mc -pkgver=4.8.2 +pkgver=4.8.3 pkgrel=1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" arch=('i686' 'x86_64') @@ -55,4 +55,4 @@ package() { -i "${pkgdir}/usr/lib/mc/extfs.d/s3+" } -md5sums=('54eba7680f3e24fbdb8d83e2cde9eca3') +md5sums=('12d38ad4969df3f8bbf66c3967a191ee') diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD new file mode 100644 index 000000000..983ddddfd --- /dev/null +++ b/community/mplayer2/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Martin Panter +# Contributor: Stéphane Gaudreault + +pkgname=mplayer2 +pkgver=20120414 +pkgrel=3 +pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.mplayer2.org/" +install=$pkgname.install +depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' 'fontconfig' + 'freetype2' 'jack' 'lame' 'libass' 'libbluray' 'libcaca' 'libcdio' 'libdca' 'libdvdcss' + 'libdvdnav' 'libdvdread' 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libtheora' 'libvdpau' + 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') +makedepends=('mesa' 'unzip' 'yasm') +backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') +provides=('mplayer') +conflicts=('mplayer') +options=(!emptydirs) +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) +md5sums=('95d981808cbfa66ad238f6c044f4f746') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --enable-runtime-cpudetection \ + --disable-arts \ + --disable-speex \ + --disable-openal \ + --disable-libdv \ + --disable-musepack \ + --disable-esd \ + --disable-mga \ + --language=all \ + --enable-translation \ + --confdir=/etc/mplayer + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install + install -Dm644 etc/{codecs.conf,input.conf,example.conf} "${pkgdir}"/etc/mplayer/ + install -dm755 "${pkgdir}"/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf "${pkgdir}"/usr/share/mplayer/subfont.ttf + + install -dm755 "${pkgdir}"/usr/share/applications/ + install -m 644 etc/mplayer.desktop "${pkgdir}"/usr/share/applications/ +} diff --git a/community/mplayer2/mplayer2.install b/community/mplayer2/mplayer2.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/community/mplayer2/mplayer2.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD index f70330c26..af5a4f8c2 100644 --- a/community/radvd/PKGBUILD +++ b/community/radvd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69072 2012-04-08 22:59:52Z seblu $ +# $Id: PKGBUILD 69704 2012-04-22 21:26:38Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Kaiting Chen # Contributor: Mark Smith pkgname=radvd pkgver=1.8.5 -pkgrel=3 +pkgrel=4 pkgdesc='IPv6 Router Advertisement Daemon' url='http://www.litech.org/radvd/' license=('custom') @@ -17,7 +17,7 @@ source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" "$pkgname.conf" "$pkgname.service") sha1sums=('344c145bd29938b7eefb0210cf92bf18df3e191d' - 'efe02c38eac45bed065fd48c1e3e7753c90c7c2a' + '08dd01319682f4ef2e847d11aa375e0239c08c7a' '63ce41d790a0472e6b3b15928f6a71d1dbb7700d' '9cb6b2eaaf445fe8d17dfc50fde15709d4de7d1d') build() { diff --git a/community/radvd/radvd.rc b/community/radvd/radvd.rc index 26ad0dbf4..3cac104e7 100644 --- a/community/radvd/radvd.rc +++ b/community/radvd/radvd.rc @@ -4,37 +4,36 @@ . /etc/rc.d/functions . /etc/conf.d/${0##*/} -NAME='IPv6 Router Advertisement Daemon' DAEMON=/usr/sbin/radvd PIDFILE=${PIDFILE:-/run/${0##*/}.pid} DAEMON_OPTS+=("--pidfile=$PIDFILE") # check pid file [[ -r "$PIDFILE" ]] && - read PID < "$PIDFILE" && [[ -n $PID ]] && kill -0 $PID || unset PID + read PID < "$PIDFILE" && [[ -n $PID ]] && kill -0 $PID || unset PID case "$1" in - start) - stat_busy "Starting $NAME daemon" - [[ ! $PID ]] && $DAEMON "${DAEMON_OPTS[@]}" && - add_daemon $NAME && stat_done && exit 0 - stat_fail - ;; + start) + stat_busy "Starting ${0##*/} daemon" + [[ ! $PID ]] && $DAEMON "${DAEMON_OPTS[@]}" && + add_daemon ${0##*/} && stat_done && exit 0 + stat_fail + ;; stop) - stat_busy "Stopping $NAME daemon" - [[ $PID ]] && kill $PID &> /dev/null && rm_daemon $NAME && stat_done && exit 0 - stat_fail - ;; + stat_busy "Stopping ${0##*/} daemon" + [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0 + stat_fail + ;; restart) - $0 stop - $0 start - exit 0 - ;; - *) - echo "usage: ${0##*/} {start|stop|restart}" >&2 - ;; + $0 stop + $0 start + exit 0 + ;; + *) + echo "usage: ${0##*/} {start|stop|restart}" >&2 + ;; esac exit 1 -# vim:set ts=2 sw=2 ft=sh noet: +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/tcpflow/PKGBUILD b/community/tcpflow/PKGBUILD index e66a0fb0f..e6bc5469d 100644 --- a/community/tcpflow/PKGBUILD +++ b/community/tcpflow/PKGBUILD @@ -1,17 +1,16 @@ -# $Id: PKGBUILD 65859 2012-02-22 13:07:30Z cbrannon $ +# $Id: PKGBUILD 69671 2012-04-22 09:26:57Z cbrannon $ # Maintainer: Chris Brannon # Contributor: Jeff Mickey pkgname=tcpflow -pkgver=1.1.0 +pkgver=1.2.6 pkgrel=1 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="http://afflib.org/software/tcpflow" license=('GPL') -depends=('gcc-libs' 'libpcap') -source=("http://afflib.org/downloads/$pkgname.tar.gz") -md5sums=('9b836b16575679e9d10f39ac7a98efbe') +depends=('gcc-libs' 'libpcap' 'zlib') +source=("https://github.com/downloads/simsong/$pkgname/$pkgname-$pkgver.tar.gz") build() { cd "$srcdir/$pkgname-$pkgver" @@ -23,3 +22,4 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } +md5sums=('7562f8a1a65f1ce1238be84a1fe83bf6') -- cgit v1.2.3-54-g00ecf