From 3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 22 May 2011 22:46:00 +0000 Subject: Sun May 22 22:46:00 UTC 2011 --- community/courier-imap/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'community/courier-imap') diff --git a/community/courier-imap/PKGBUILD b/community/courier-imap/PKGBUILD index 5bb1ab164..1f4192092 100644 --- a/community/courier-imap/PKGBUILD +++ b/community/courier-imap/PKGBUILD @@ -4,7 +4,7 @@ # Committer: Manolis Tzanidakis pkgname=courier-imap -pkgver=4.9.1 +pkgver=4.9.2 pkgrel=1 pkgdesc="IMAP(s)/POP3(s) Server" arch=('i686' 'x86_64') @@ -21,7 +21,7 @@ options=('!libtool') source=(http://downloads.sourceforge.net/project/courier/imap/${pkgver}/${pkgname}-${pkgver}.tar.bz2 courier-imap.conf.d courier-imap.rc.d) -md5sums=('780929e509c4e9199d5efc68d9158ba1' +md5sums=('fc04f4a75f90a5840f537ab6bd909143' '3e08f017f6c5a52dea28f6f0dbd50b86' '3e4910c5a34af68dfdeed932e573a9f9') -- cgit v1.2.3-54-g00ecf From 363d953113a327863013a9422c8212654a86a209 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 May 2011 22:48:50 +0000 Subject: Tue May 24 22:48:50 UTC 2011 --- community-staging/freeradius/PKGBUILD | 44 ++++++ community-staging/freeradius/freeradius.install | 22 +++ community-staging/freeradius/krb5-build-fix.patch | 21 +++ community-staging/freeradius/radiusd | 43 ++++++ community-staging/kvirc/PKGBUILD | 25 ++++ community-staging/kvirc/kvirc.install | 13 ++ community-staging/perl-berkeleydb/PKGBUILD | 28 ++++ .../perl-class-data-inheritable/PKGBUILD | 23 ++++ community-staging/perl-class-factory-util/PKGBUILD | 31 +++++ community-staging/perl-class-methodmaker/PKGBUILD | 24 ++++ community-staging/perl-clone/PKGBUILD | 32 +++++ community-staging/perl-crypt-blowfish/PKGBUILD | 22 +++ community-staging/perl-crypt-des/PKGBUILD | 19 +++ .../perl-crypt-openssl-bignum/PKGBUILD | 23 ++++ .../perl-crypt-openssl-random/PKGBUILD | 23 ++++ community-staging/perl-crypt-openssl-rsa/PKGBUILD | 24 ++++ community-staging/perl-curses/PKGBUILD | 25 ++++ .../perl-data-structure-util/PKGBUILD | 22 +++ .../perl-datetime-format-builder/PKGBUILD | 30 ++++ .../perl-datetime-format-mail/PKGBUILD | 26 ++++ community-staging/perl-datetime/PKGBUILD | 37 +++++ community-staging/perl-fuse/PKGBUILD | 28 ++++ community-staging/perl-gd/PKGBUILD | 29 ++++ community-staging/perl-html-strip/PKGBUILD | 27 ++++ community-staging/perl-inline-java/PKGBUILD | 29 ++++ community-staging/perl-io-tty/PKGBUILD | 26 ++++ community-staging/perl-json-xs/PKGBUILD | 29 ++++ community-staging/perl-libapreq2/PKGBUILD | 34 +++++ community-staging/perl-list-moreutils/PKGBUILD | 27 ++++ community-staging/perl-mail-box-parser-c/PKGBUILD | 31 +++++ community-staging/perl-mail-transport-dbx/PKGBUILD | 31 +++++ community-staging/perl-net-dbus/PKGBUILD | 32 +++++ community-staging/perl-net-libidn/PKGBUILD | 31 +++++ community-staging/perl-params-validate/PKGBUILD | 30 ++++ community-staging/perl-string-crc32/PKGBUILD | 31 +++++ community-staging/perl-text-charwidth/PKGBUILD | 31 +++++ community-staging/perl-text-kakasi/ChangeLog | 3 + community-staging/perl-text-kakasi/PKGBUILD | 33 +++++ community-staging/perl-tie-hash-indexed/PKGBUILD | 32 +++++ community-staging/perl-www-curl/PKGBUILD | 32 +++++ community-staging/perl-xml-libxml/PKGBUILD | 32 +++++ .../perl-xml-libxml/perl-xml-libxml.install | 15 ++ community-staging/perl-xmms/PKGBUILD | 31 +++++ community-staging/pork/PKGBUILD | 29 ++++ community/courier-imap/PKGBUILD | 6 +- community/elinks/PKGBUILD | 46 +++++-- community/filezilla/PKGBUILD | 8 +- community/libfaketime/PKGBUILD | 24 ++++ community/nethogs/PKGBUILD | 5 +- extra/banshee/PKGBUILD | 6 +- extra/fetchmail/PKGBUILD | 24 ++-- extra/fetchmail/fetchmail.rc | 3 +- extra/gnome-desktop-sharp/PKGBUILD | 88 +++++++++--- extra/libgnome-keyring/PKGBUILD | 11 +- extra/libgnome-keyring/fix_crash.patch | 35 +++++ extra/libjpeg-turbo/PKGBUILD | 10 +- extra/neverball/PKGBUILD | 56 ++++---- extra/sox/PKGBUILD | 12 +- staging/glib-perl/PKGBUILD | 33 +++++ staging/perl-tk/PKGBUILD | 44 ++++++ staging/pidgin/PKGBUILD | 102 ++++++++++++++ staging/pidgin/pidgin.install | 11 ++ testing/accountsservice/PKGBUILD | 32 +++++ testing/anjuta/PKGBUILD | 35 +++++ testing/anjuta/anjuta.install | 21 +++ testing/empathy/PKGBUILD | 39 ++++++ testing/empathy/empathy.install | 16 +++ testing/evolution-data-server/PKGBUILD | 29 ++++ testing/evolution-exchange/PKGBUILD | 33 +++++ .../evolution-exchange/evolution-exchange.install | 17 +++ testing/evolution/PKGBUILD | 45 ++++++ testing/evolution/evolution.install | 24 ++++ testing/gdl/PKGBUILD | 27 ++++ .../2.91_fix_external_program_directories.patch | 48 +++++++ testing/gdm/PKGBUILD | 59 ++++++++ testing/gdm/gdm | 36 +++++ testing/gdm/gdm-autologin.pam | 8 ++ testing/gdm/gdm-vt-allocation-hack.patch | 118 ++++++++++++++++ testing/gdm/gdm.install | 27 ++++ testing/gdm/gdm.pam | 10 ++ testing/glib-networking/PKGBUILD | 30 ++++ testing/glib-networking/glib-networking.install | 11 ++ testing/gnome-games/PKGBUILD | 43 ++++++ testing/gnome-games/gnome-games.install | 153 +++++++++++++++++++++ testing/gnome-power-manager/PKGBUILD | 34 +++++ .../gnome-power-manager.install | 19 +++ testing/gnome-settings-daemon/PKGBUILD | 33 +++++ .../gnome-settings-daemon.install | 18 +++ testing/gnome-themes-standard/PKGBUILD | 29 ++++ testing/gtk3/PKGBUILD | 36 +++++ testing/gtk3/gtk3.install | 15 ++ testing/gtk3/settings.ini | 2 + testing/gvfs/PKGBUILD | 101 ++++++++++++++ testing/gvfs/gvfs-module.install | 7 + testing/gvfs/gvfs-smb.install | 12 ++ testing/gvfs/gvfs.install | 14 ++ testing/libsoup/PKGBUILD | 48 +++++++ 97 files changed, 2860 insertions(+), 103 deletions(-) create mode 100644 community-staging/freeradius/PKGBUILD create mode 100644 community-staging/freeradius/freeradius.install create mode 100644 community-staging/freeradius/krb5-build-fix.patch create mode 100755 community-staging/freeradius/radiusd create mode 100644 community-staging/kvirc/PKGBUILD create mode 100644 community-staging/kvirc/kvirc.install create mode 100644 community-staging/perl-berkeleydb/PKGBUILD create mode 100644 community-staging/perl-class-data-inheritable/PKGBUILD create mode 100644 community-staging/perl-class-factory-util/PKGBUILD create mode 100644 community-staging/perl-class-methodmaker/PKGBUILD create mode 100644 community-staging/perl-clone/PKGBUILD create mode 100644 community-staging/perl-crypt-blowfish/PKGBUILD create mode 100644 community-staging/perl-crypt-des/PKGBUILD create mode 100644 community-staging/perl-crypt-openssl-bignum/PKGBUILD create mode 100644 community-staging/perl-crypt-openssl-random/PKGBUILD create mode 100644 community-staging/perl-crypt-openssl-rsa/PKGBUILD create mode 100644 community-staging/perl-curses/PKGBUILD create mode 100644 community-staging/perl-data-structure-util/PKGBUILD create mode 100644 community-staging/perl-datetime-format-builder/PKGBUILD create mode 100644 community-staging/perl-datetime-format-mail/PKGBUILD create mode 100644 community-staging/perl-datetime/PKGBUILD create mode 100644 community-staging/perl-fuse/PKGBUILD create mode 100644 community-staging/perl-gd/PKGBUILD create mode 100644 community-staging/perl-html-strip/PKGBUILD create mode 100644 community-staging/perl-inline-java/PKGBUILD create mode 100644 community-staging/perl-io-tty/PKGBUILD create mode 100644 community-staging/perl-json-xs/PKGBUILD create mode 100644 community-staging/perl-libapreq2/PKGBUILD create mode 100644 community-staging/perl-list-moreutils/PKGBUILD create mode 100644 community-staging/perl-mail-box-parser-c/PKGBUILD create mode 100644 community-staging/perl-mail-transport-dbx/PKGBUILD create mode 100644 community-staging/perl-net-dbus/PKGBUILD create mode 100644 community-staging/perl-net-libidn/PKGBUILD create mode 100644 community-staging/perl-params-validate/PKGBUILD create mode 100644 community-staging/perl-string-crc32/PKGBUILD create mode 100644 community-staging/perl-text-charwidth/PKGBUILD create mode 100644 community-staging/perl-text-kakasi/ChangeLog create mode 100644 community-staging/perl-text-kakasi/PKGBUILD create mode 100644 community-staging/perl-tie-hash-indexed/PKGBUILD create mode 100644 community-staging/perl-www-curl/PKGBUILD create mode 100644 community-staging/perl-xml-libxml/PKGBUILD create mode 100644 community-staging/perl-xml-libxml/perl-xml-libxml.install create mode 100644 community-staging/perl-xmms/PKGBUILD create mode 100644 community-staging/pork/PKGBUILD create mode 100644 community/libfaketime/PKGBUILD create mode 100644 extra/libgnome-keyring/fix_crash.patch create mode 100644 staging/glib-perl/PKGBUILD create mode 100644 staging/perl-tk/PKGBUILD create mode 100644 staging/pidgin/PKGBUILD create mode 100644 staging/pidgin/pidgin.install create mode 100644 testing/accountsservice/PKGBUILD create mode 100644 testing/anjuta/PKGBUILD create mode 100644 testing/anjuta/anjuta.install create mode 100644 testing/empathy/PKGBUILD create mode 100644 testing/empathy/empathy.install create mode 100644 testing/evolution-data-server/PKGBUILD create mode 100644 testing/evolution-exchange/PKGBUILD create mode 100644 testing/evolution-exchange/evolution-exchange.install create mode 100644 testing/evolution/PKGBUILD create mode 100644 testing/evolution/evolution.install create mode 100644 testing/gdl/PKGBUILD create mode 100644 testing/gdm/2.91_fix_external_program_directories.patch create mode 100644 testing/gdm/PKGBUILD create mode 100755 testing/gdm/gdm create mode 100644 testing/gdm/gdm-autologin.pam create mode 100644 testing/gdm/gdm-vt-allocation-hack.patch create mode 100644 testing/gdm/gdm.install create mode 100644 testing/gdm/gdm.pam create mode 100644 testing/glib-networking/PKGBUILD create mode 100644 testing/glib-networking/glib-networking.install create mode 100644 testing/gnome-games/PKGBUILD create mode 100644 testing/gnome-games/gnome-games.install create mode 100644 testing/gnome-power-manager/PKGBUILD create mode 100644 testing/gnome-power-manager/gnome-power-manager.install create mode 100644 testing/gnome-settings-daemon/PKGBUILD create mode 100644 testing/gnome-settings-daemon/gnome-settings-daemon.install create mode 100644 testing/gnome-themes-standard/PKGBUILD create mode 100644 testing/gtk3/PKGBUILD create mode 100644 testing/gtk3/gtk3.install create mode 100644 testing/gtk3/settings.ini create mode 100644 testing/gvfs/PKGBUILD create mode 100644 testing/gvfs/gvfs-module.install create mode 100644 testing/gvfs/gvfs-smb.install create mode 100644 testing/gvfs/gvfs.install create mode 100644 testing/libsoup/PKGBUILD (limited to 'community/courier-imap') diff --git a/community-staging/freeradius/PKGBUILD b/community-staging/freeradius/PKGBUILD new file mode 100644 index 000000000..1b3d364f0 --- /dev/null +++ b/community-staging/freeradius/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 47452 2011-05-23 15:07:24Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Jason R Begley (jayray@digitalgoat.com> + +pkgname=freeradius +pkgver=2.1.10 +pkgrel=7 +pkgdesc="The premier open source RADIUS server" +arch=('i686' 'x86_64') +url="http://www.freeradius.org/" +license=("GPL") +depends=('openssl' 'krb5' 'pth' 'libldap>=2.4.18' 'net-snmp' 'pam' \ + 'postgresql-libs>=9.0.3' 'libtool' 'libmysqlclient' 'gdbm' 'shadow') +optdepends=('libpcap' 'unixodbc' 'python2') +options=('!libtool' 'emptydirs' '!makeflags') +install=$pkgname.install +source=(ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2 \ + radiusd + krb5-build-fix.patch) +md5sums=('8ea2bd39460a06212decf2c14fdf3fb8' + 'f1a6530b1b69d2fa793aa45b2de379bb' + 'c6a61de7576933f59154a53bfc12a2d2') + +build() { + cd $srcdir/freeradius-server-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + sed -i 's/ -DKRB5_DEPRECATED//' src/modules/rlm_krb5/Makefile.in + patch -p1 <$srcdir/krb5-build-fix.patch + ./configure --with-system-libtool --with-system-libltdl \ + --prefix=/usr --enable-heimdal-krb5 \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --libdir=/usr/lib/freeradius + make +} + +package() { + cd $srcdir/freeradius-server-$pkgver + make install R=$pkgdir + install -D -m755 ../radiusd $pkgdir/etc/rc.d/radiusd + chmod o+r $pkgdir/etc/raddb/* + mv $pkgdir/etc/raddb $pkgdir/etc/raddb.default + rm -rf $pkgdir/var/run +} diff --git a/community-staging/freeradius/freeradius.install b/community-staging/freeradius/freeradius.install new file mode 100644 index 000000000..e50aa403d --- /dev/null +++ b/community-staging/freeradius/freeradius.install @@ -0,0 +1,22 @@ +post_install() { + groupadd radiusd + useradd -m -d /var/lib/radiusd -g radiusd -s /bin/false radiusd + + touch /var/log/radius/radius.log + chown -R radiusd.radiusd /var/log/radius/radius.log + + [ -d /etc/raddb ] || cp -a /etc/raddb.default /etc/raddb + + /bin/true +} + +pre_remove() { + /etc/rc.d/radiusd stop + /bin/true +} + +post_remove() { + userdel radiusd + groupdel radiusd + /bin/true +} diff --git a/community-staging/freeradius/krb5-build-fix.patch b/community-staging/freeradius/krb5-build-fix.patch new file mode 100644 index 000000000..11dae7090 --- /dev/null +++ b/community-staging/freeradius/krb5-build-fix.patch @@ -0,0 +1,21 @@ +diff -wbBur freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c +--- freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c 2010-09-28 11:03:56.000000000 +0000 ++++ freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c 2011-04-29 09:26:10.000000000 +0000 +@@ -375,7 +375,7 @@ + * Heimdal krb5 verification + */ + radlog(L_AUTH, "rlm_krb5: Parsed name is: %s@%s\n", +- *userP->name.name_string.val, ++ "-" /* *userP->name.name_string.val*/, + userP->realm); + + krb5_cc_default(context, &id); +@@ -390,7 +390,7 @@ + + radlog(L_AUTH, "rlm_krb5: failed verify_user: %s (%s@%s )", + error_message(ret), +- *userP->name.name_string.val, ++ "-" /* *userP->name.name_string.val */, + userP->realm); + + return RLM_MODULE_REJECT; diff --git a/community-staging/freeradius/radiusd b/community-staging/freeradius/radiusd new file mode 100755 index 000000000..bf872b6f2 --- /dev/null +++ b/community-staging/freeradius/radiusd @@ -0,0 +1,43 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/radiusd` +case "$1" in + start) + stat_busy "Starting radiusd Server" + + [ -d /var/run/radiusd ] || mkdir -p /var/run/radiusd + [ -f /var/run/radiusd/radiusd.pid ] || touch /var/run/radiusd/radiusd.pid + chown -R radiusd.radiusd /var/run/radiusd + + [ -z "$PID" ] && /usr/sbin/radiusd + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/radiusd.pid + add_daemon radiusd + stat_done + fi + ;; + stop) + stat_busy "Stopping radiusd Server" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm /var/run/radiusd.pid + rm_daemon radiusd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-staging/kvirc/PKGBUILD b/community-staging/kvirc/PKGBUILD new file mode 100644 index 000000000..a53dbed2c --- /dev/null +++ b/community-staging/kvirc/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 47455 2011-05-23 15:33:39Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=kvirc +pkgver=4.0.4 +pkgrel=2 +pkgdesc="Qt-based IRC client" +url="http://www.kvirc.net" +depends=('python2' 'esound' 'qt' 'libxss') +optdepends=('esound: needed for snd plugin') +arch=(i686 x86_64) +makedepends=('cmake') +license=('GPL') +options=("!libtool") +install=kvirc.install +source=(ftp://ftp.kvirc.de/pub/kvirc/$pkgver/source/kvirc-$pkgver.tar.bz2) +md5sums=('26fd24979ae4a29bac9309b3b0c98788') + +build() { + cd $srcdir/kvirc-$pkgver + [ $NOEXTRACT -eq 1 ] || cmake -DWANT_KDE4=OFF -DWANT_PERL=ON -DWANT_PHONON=OFF -DCMAKE_INSTALL_PREFIX=/usr . + make + make DESTDIR=$pkgdir install +} diff --git a/community-staging/kvirc/kvirc.install b/community-staging/kvirc/kvirc.install new file mode 100644 index 000000000..8f76d007f --- /dev/null +++ b/community-staging/kvirc/kvirc.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + true +} + +post_upgrade() { + post_install +} + +pre_remove() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + true +} diff --git a/community-staging/perl-berkeleydb/PKGBUILD b/community-staging/perl-berkeleydb/PKGBUILD new file mode 100644 index 000000000..2476eaf71 --- /dev/null +++ b/community-staging/perl-berkeleydb/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 47458 2011-05-23 15:36:16Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch +# Contributor: Francois Charette + +pkgname=perl-berkeleydb +pkgver=0.43 +pkgrel=5 +pkgdesc="Interface to Berkeley DB version 2, 3 or 4" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/BerkeleyDB/" +license=('GPL' 'PerlArtistic') +depends=('perl' 'db') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-$pkgver.tar.gz) +md5sums=('3d0cf0651ed8cd3fc36e328d5924a1e9') + +build() { +_dbver=`pacman -Q db | cut -d\ -f2 | cut -d- -f1` +depends=('perl' "db=$_dbver") + + cd $srcdir/BerkeleyDB-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-class-data-inheritable/PKGBUILD b/community-staging/perl-class-data-inheritable/PKGBUILD new file mode 100644 index 000000000..279d6da79 --- /dev/null +++ b/community-staging/perl-class-data-inheritable/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-class-data-inheritable +pkgver=0.08 +pkgrel=4 +pkgdesc="Inheritable, overridable class data " +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Class-Data-Inheritable" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz) +md5sums=('fc0fe65926eb8fb932743559feb54eb9') + +build() { + cd Class-Data-Inheritable-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=${pkgdir} + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-class-factory-util/PKGBUILD b/community-staging/perl-class-factory-util/PKGBUILD new file mode 100644 index 000000000..d22f619c9 --- /dev/null +++ b/community-staging/perl-class-factory-util/PKGBUILD @@ -0,0 +1,31 @@ +# $Id:$ + +pkgname=perl-class-factory-util +_realname=Class-Factory-Util +pkgver=1.7 +pkgrel=3 +pkgdesc="Provide utility methods for factory classes" +arch=(i686 x86_64) +license=('GPL' 'Artistic') +url="http://search.cpan.org/~drolsky/Class-Factory-Util" +options=(!emptydirs) +depends=('perl') +provides=('class-factory-util=1.7' 'Class::Factory::Util=1.7' 'perl-class-factory-util=1.7') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz) +md5sums=('aebd79da361b676a7ecd3245fc3d1b3f') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} diff --git a/community-staging/perl-class-methodmaker/PKGBUILD b/community-staging/perl-class-methodmaker/PKGBUILD new file mode 100644 index 000000000..9896a9d33 --- /dev/null +++ b/community-staging/perl-class-methodmaker/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 47471 2011-05-23 15:46:41Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: François Charette + +pkgname=perl-class-methodmaker +pkgver=2.18 +pkgrel=4 +pkgdesc="Create generic class methods" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Class-MethodMaker" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/Class-MethodMaker-${pkgver}.tar.gz") +md5sums=('99435d78e0a1754b102fe39597c6c3df') + +build() { + cd $srcdir/Class-MethodMaker-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-clone/PKGBUILD b/community-staging/perl-clone/PKGBUILD new file mode 100644 index 000000000..ede090293 --- /dev/null +++ b/community-staging/perl-clone/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: François Charette +# Contributor: Alex Dioso gmail*com> + +pkgname=perl-clone +pkgver=0.31 +pkgrel=3 +pkgdesc='Recursive copy of nested objects.' +arch=('i686' 'x86_64') +url='http://search.cpan.org/~RDF/Clone' +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/R/RD/RDF/Clone-${pkgver}.tar.gz") +md5sums=('65f34e7280d7b7dfb72ab6224e5767f5') + +build() { + cd Clone-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Clone-${pkgver} + + make DESTDIR=${pkgdir} install + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-crypt-blowfish/PKGBUILD b/community-staging/perl-crypt-blowfish/PKGBUILD new file mode 100644 index 000000000..204a0d0f9 --- /dev/null +++ b/community-staging/perl-crypt-blowfish/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 47477 2011-05-23 15:51:28Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-crypt-blowfish +pkgver=2.12 +pkgrel=3 +pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Crypt-Blowfish" +license=("GPL" "PerlArtistic") +source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz") +md5sums=('a0eca17addc8bdaf38c044c365a8800c') + +build() { + cd $srcdir/Crypt-Blowfish-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-crypt-des/PKGBUILD b/community-staging/perl-crypt-des/PKGBUILD new file mode 100644 index 000000000..ae854b92b --- /dev/null +++ b/community-staging/perl-crypt-des/PKGBUILD @@ -0,0 +1,19 @@ +#Contributor: Pete Morris +pkgname=perl-crypt-des +pkgver=2.05 +pkgrel=3 +pkgdesc="Perl DES encryption module" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~dparis/Crypt-DES" +license=("GPL" "PerlArtistic") +depends=('glibc') +source=("http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-$pkgver.tar.gz") +md5sums=('a8a0bea7064e11d2af434f3e468c17bb') +build() { + cd Crypt-DES-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=${pkgdir} + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} diff --git a/community-staging/perl-crypt-openssl-bignum/PKGBUILD b/community-staging/perl-crypt-openssl-bignum/PKGBUILD new file mode 100644 index 000000000..33f382066 --- /dev/null +++ b/community-staging/perl-crypt-openssl-bignum/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 47483 2011-05-23 15:54:16Z tdziedzic $ +# Maintainer: Sergej Pupykin + +pkgname=perl-crypt-openssl-bignum +pkgver=0.04 +pkgrel=5 +pkgdesc="OpenSSL's multiprecision integer arithmetic " +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum" +depends=('perl' 'openssl') +license=('GPL') +option=('!emptydirs') +source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$pkgver.tar.gz) +md5sums=('9369ef722b0705c0604998559988eb18') + +build() { + cd $startdir/src/Crypt-OpenSSL-Bignum-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$startdir/pkg + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} diff --git a/community-staging/perl-crypt-openssl-random/PKGBUILD b/community-staging/perl-crypt-openssl-random/PKGBUILD new file mode 100644 index 000000000..b9a8adb52 --- /dev/null +++ b/community-staging/perl-crypt-openssl-random/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 47486 2011-05-23 15:55:23Z tdziedzic $ +# Maintainer: Sergej Pupykin + +pkgname=perl-crypt-openssl-random +pkgver=0.04 +pkgrel=5 +pkgdesc="Interface to OpenSSL PRNG methods" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Crypt-OpenSSL-Random" +depends=('perl' 'openssl') +license=('GPL') +option=('!emptydirs') +source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-$pkgver.tar.gz) +md5sums=('c56ac5dbdd46122eb9b8da59613b7b0a') + +build() { + cd $startdir/src/Crypt-OpenSSL-Random-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$startdir/pkg + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} diff --git a/community-staging/perl-crypt-openssl-rsa/PKGBUILD b/community-staging/perl-crypt-openssl-rsa/PKGBUILD new file mode 100644 index 000000000..23151f63e --- /dev/null +++ b/community-staging/perl-crypt-openssl-rsa/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 47489 2011-05-23 15:56:48Z tdziedzic $ +# Maintainer: Sergej Pupykin + +pkgname=perl-crypt-openssl-rsa +pkgver=0.26 +pkgrel=4 +pkgdesc="Interface to OpenSSL RSA methods" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Crypt-OpenSSL-RSA" +depends=('perl-crypt-openssl-random' 'perl-crypt-openssl-bignum') +license=('GPL') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-$pkgver.tar.gz) +md5sums=('baf875f01ee39b88335b8f0962fe4bbc') + +build() { + cd $startdir/src/Crypt-OpenSSL-RSA-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$startdir/pkg + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} + diff --git a/community-staging/perl-curses/PKGBUILD b/community-staging/perl-curses/PKGBUILD new file mode 100644 index 000000000..629c01041 --- /dev/null +++ b/community-staging/perl-curses/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 47492 2011-05-23 15:58:40Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch +# Contributor: Francois Charette + +pkgname=perl-curses +pkgver=1.28 +pkgrel=3 +pkgdesc="Character screen handling and windowing" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Curses" +license=('GPL' 'PerlArtistic') +depends=('perl' 'ncurses') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-$pkgver.tgz) +md5sums=('ed9f7ddf2d90f4266da91c3dc9fad9c9') + +build() { + cd $srcdir/Curses-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-data-structure-util/PKGBUILD b/community-staging/perl-data-structure-util/PKGBUILD new file mode 100644 index 000000000..765098374 --- /dev/null +++ b/community-staging/perl-data-structure-util/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 47495 2011-05-23 16:00:16Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-data-structure-util +pkgver=0.15 +pkgrel=4 +pkgdesc="Perl/CPAN Module Data::Structure::Util" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Data-Structure-Util" +license=("GPL" "PerlArtistic") +source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz") +md5sums=('e12ba777c0abfbd79a131de28d542359') + +build() { + cd $srcdir/Data-Structure-Util-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-datetime-format-builder/PKGBUILD b/community-staging/perl-datetime-format-builder/PKGBUILD new file mode 100644 index 000000000..094777a66 --- /dev/null +++ b/community-staging/perl-datetime-format-builder/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Contributor: Caleb Cushing + +pkgname=perl-datetime-format-builder +pkgver=0.8000 +pkgrel=5 +pkgdesc="Create DateTime parser classes and objects" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +provides=('perl-datetime-format-builder=0.80') +depends=('perl' 'perl-class-factory-util>=1.6' 'perl-datetime>=0.12' 'perl-datetime-format-strptime>=1.04' 'perl-params-validate>=0.72') +url='http://search.cpan.org/dist/DateTime-Format-Builder' +source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz') +md5sums=('f6c5d5a17b5b7478ff555a2d3cce5136') + +build() { + export PERL_MM_USE_DEFAULT=1 + + cd "${srcdir}/DateTime-Format-Builder-0.80" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/DateTime-Format-Builder-0.80" + make DESTDIR="$pkgdir" install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/community-staging/perl-datetime-format-mail/PKGBUILD b/community-staging/perl-datetime-format-mail/PKGBUILD new file mode 100644 index 000000000..dc6c69605 --- /dev/null +++ b/community-staging/perl-datetime-format-mail/PKGBUILD @@ -0,0 +1,26 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-datetime-format-mail +pkgver=0.3001 +pkgrel=7 +pkgdesc="Convert between DateTime and RFC2822/822 formats " +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/DateTime-Format-Mail" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0' 'perl-datetime' 'perl-params-validate>=0.67') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-$pkgver.tar.gz) +md5sums=('15e36249e866463bd0237262a8e43b16') + +build() { + cd $srcdir/DateTime-Format-Mail-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd $srcdir/DateTime-Format-Mail-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-datetime/PKGBUILD b/community-staging/perl-datetime/PKGBUILD new file mode 100644 index 000000000..b5c86bd7f --- /dev/null +++ b/community-staging/perl-datetime/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 47498 2011-05-23 16:01:46Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: François Charette + +pkgname=perl-datetime +pkgver=0.70 +pkgrel=2 +pkgdesc="A complete, easy to use date and time object" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/DateTime" +license=('GPL' 'PerlArtistic') +depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41' + 'perl-params-validate>=0.76' 'perl-math-round') +LC_NUMERIC=C +provides=("perl-datetime=`printf %.4f $pkgver`") +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) +md5sums=('228a3ca93b49e308fc7a3b7a47341ab3') + +build() { + cd $srcdir/DateTime-$pkgver + perl Build.PL installdirs=vendor destdir="$pkgdir/" + ./Build +} + +check() { + cd $srcdir/DateTime-$pkgver +# ./Build test + true +} + +package() { + cd $srcdir/DateTime-$pkgver + ./Build install + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-fuse/PKGBUILD b/community-staging/perl-fuse/PKGBUILD new file mode 100644 index 000000000..079721841 --- /dev/null +++ b/community-staging/perl-fuse/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 47546 2011-05-23 19:23:45Z jelle $ +# Maintainer: Sergej Pupykin +# Maintainer: Tom K + +pkgname=perl-fuse +pkgver=0.11 +pkgrel=2 +pkgdesc="write filesystems in Perl using FUSE" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Fuse" +depends=('perl' 'fuse') +license=('GPL') +source=(http://www.cpan.org/authors/id/D/DP/DPAVLIN/Fuse-$pkgver.tar.gz) +md5sums=('4b4cb2399dc409015779af0940513c97') +options=('!emptydirs') + +build() { + cd $srcdir/Fuse-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Fuse-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-gd/PKGBUILD b/community-staging/perl-gd/PKGBUILD new file mode 100644 index 000000000..b29f364b0 --- /dev/null +++ b/community-staging/perl-gd/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Sergej Pupykin + +pkgname=perl-gd +pkgver=2.44 +pkgrel=4 +pkgdesc="Interface to Gd Graphics Library" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/GD" +license=('GPL' 'PerlArtistic') +depends=('gd') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz) +md5sums=('9b9a4d78a5af0616a96264b0aa354859') + +build() { + cd $srcdir/GD-$pkgver + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} +package() { + cd $srcdir/GD-$pkgver + make install DESTDIR=$pkgdir + install -D -m0644 GD/Group.pm $pkgdir/usr/lib/perl5/vendor_perl/GD/Group.pm + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-html-strip/PKGBUILD b/community-staging/perl-html-strip/PKGBUILD new file mode 100644 index 000000000..2f93db01f --- /dev/null +++ b/community-staging/perl-html-strip/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 47534 2011-05-23 18:42:18Z jelle $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-html-strip +pkgver=1.06 +pkgrel=6 +pkgdesc="Perl/CPAN Module HTML::Strip" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~kilinrax/HTML-Strip/" +license=("GPL" "PerlArtistic") +depends=('perl') +source=("http://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-$pkgver.tar.gz") +md5sums=('ceeacef0c7c31983e3a991e77bb58b45') +options=('!emptydirs') + +build() { + cd $srcdir/HTML-Strip-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd $srcdir/HTML-Strip-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-inline-java/PKGBUILD b/community-staging/perl-inline-java/PKGBUILD new file mode 100644 index 000000000..d9396fc00 --- /dev/null +++ b/community-staging/perl-inline-java/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 47531 2011-05-23 18:37:03Z jelle $ +# Maintainer: Sergej Pupykin +# Contributor: Wael Nasreddine + +pkgname=perl-inline-java +pkgver=0.53 +pkgrel=2 +pkgdesc="The Inline::Java module allows you to put Java source code directly inline in a Perl script or module." +arch=('i686' 'x86_64') +depends=('perl' 'perl-inline' 'java-runtime') +makedepends=('java-environment') +license=("GPL" "PerlArtistic") +url="http://search.cpan.org/dist/Inline-Java" +source=(http://search.cpan.org/CPAN/authors/id/P/PA/PATL/Inline-Java-$pkgver.tar.gz) +md5sums=('23f96c2ac4915302c3647c0abc92916f') +options=('!emptydirs') + +build() { + cd $srcdir/Inline-Java-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=$J2SDKDIR + make java + make +} +package() { + cd $srcdir/Inline-Java-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-io-tty/PKGBUILD b/community-staging/perl-io-tty/PKGBUILD new file mode 100644 index 000000000..7fe7b0b0d --- /dev/null +++ b/community-staging/perl-io-tty/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Charles Mauch + +pkgname=perl-io-tty +_realname=IO-Tty +pkgver=1.08 +pkgrel=4 +pkgdesc="Provide an interface to TTYs and PTYs" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/IO-Tty/" +license=("GPL" "PerlArtistic") +depends=('glibc') +source=("http://www.cpan.org/authors/id/R/RG/RGIERSIG/${_realname}-$pkgver.tar.gz") +md5sums=('e99d819a6f8c11ae105b770cc508a4fc') +options=('!emptydirs') + +build() { + cd $srcdir/${_realname}-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package(){ + cd $srcdir/${_realname}-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-json-xs/PKGBUILD b/community-staging/perl-json-xs/PKGBUILD new file mode 100644 index 000000000..0c935e5ca --- /dev/null +++ b/community-staging/perl-json-xs/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 47516 2011-05-23 18:15:13Z jelle $ +# Maintainer: Sergej Pupykin +# Contributor: Tor Krill + +pkgname=perl-json-xs +pkgver=2.3 +pkgrel=3 +pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast" +url="http://search.cpan.org/dist/JSON-XS/" +license=("GPL") +arch=('i686' 'x86_64') +depends=('perl' 'perl-common-sense') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz) +md5sums=('4dc2a968e41f8cf330d46be12f221a12') + +build() { + cd $srcdir/JSON-XS-$pkgver +# eval `perl -V:archname` + perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd $srcdir/JSON-XS-$pkgver + make DESTDIR=$pkgdir install + + find $pkgdir -name '.packlist' -delete && \ + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-libapreq2/PKGBUILD b/community-staging/perl-libapreq2/PKGBUILD new file mode 100644 index 000000000..21d49f90f --- /dev/null +++ b/community-staging/perl-libapreq2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 47519 2011-05-23 18:19:22Z jelle $ +# Maintainer: Sergej Pupykin +# Maintainer: Tom K + +pkgname=perl-libapreq2 +pkgver=2.12 +pkgrel=8 +pkgdesc="A safe, standards-compliant, high-performance library used for parsing HTTP cookies, query-strings and POST data." +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/libapreq2" +depends=('mod_perl' 'apr-util') +makedepends=('perl-extutils-xsbuilder' 'perl-version') +license=("GPL") +options=('!libtool' '!makeflags') +source=(http://www.cpan.org/authors/id/J/JO/JOESUF/libapreq2-$pkgver.tar.gz) +md5sums=('76e2acde0d82246dea6f2565f3746eec') + +build() { + cd $srcdir/libapreq2-$pkgver + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs + + find . -type f -name Makefile -exec sed -i 's#-ldb-4.8#-ldb-5.1#' {} \; + sed -i 's#-ldb-4.8#-ldb-5.1#' apreq2-config + + make +} +package(){ + cd $srcdir/libapreq2-$pkgver + make install DESTDIR=$pkgdir + sed -i "s#$srcdir#/usr/src#" $pkgdir/usr/bin/apreq2-config + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-list-moreutils/PKGBUILD b/community-staging/perl-list-moreutils/PKGBUILD new file mode 100644 index 000000000..fc399b9a7 --- /dev/null +++ b/community-staging/perl-list-moreutils/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: François Charette + +pkgname=perl-list-moreutils +_cpanname=List-MoreUtils +pkgver=0.22 +pkgrel=6 +pkgdesc="Provide the stuff missing in List::Util" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/List-MoreUtils" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/V/VP/VPARSEVAL/${_cpanname}-$pkgver.tar.gz) +md5sums=('3a6ec506f40662ab1296c48c5eb72016') + +build() { + cd $srcdir/${_cpanname}-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/${_cpanname}-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/perl-mail-box-parser-c/PKGBUILD b/community-staging/perl-mail-box-parser-c/PKGBUILD new file mode 100644 index 000000000..cf1fc16f4 --- /dev/null +++ b/community-staging/perl-mail-box-parser-c/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47593 2011-05-23 20:41:57Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-mail-box-parser-c +pkgver=3.006 +pkgrel=6 +pkgdesc="Perl/CPAN Module Mail::Box::Parser::C : extends MailBox with the speed of C" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Mail-Box-Parser-C" +license=("GPL" "PerlArtistic") +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-Parser-C-${pkgver}.tar.gz") +md5sums=('3dfb3e2729597ae33114250cbce1b884') + +build() { + cd Mail-Box-Parser-C-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Mail-Box-Parser-C-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-mail-transport-dbx/PKGBUILD b/community-staging/perl-mail-transport-dbx/PKGBUILD new file mode 100644 index 000000000..15244af54 --- /dev/null +++ b/community-staging/perl-mail-transport-dbx/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47596 2011-05-23 20:45:10Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-mail-transport-dbx +pkgver=0.07 +pkgrel=6 +pkgdesc="Perl/CPAN Module Mail::Transport::Dbx : Parse Outlook Express mailboxes" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Mail-Transport-Dbx" +license=("GPL" "PerlArtistic") +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-Transport-Dbx-${pkgver}.tar.gz") +md5sums=('4dcf5346a67c0a7f861cb2bb51a7d14e') + +build() { + cd Mail-Transport-Dbx-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Mail-Transport-Dbx-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-net-dbus/PKGBUILD b/community-staging/perl-net-dbus/PKGBUILD new file mode 100644 index 000000000..a7307c2a8 --- /dev/null +++ b/community-staging/perl-net-dbus/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 47599 2011-05-23 20:48:03Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Francois Charette + +pkgname=perl-net-dbus +pkgver=0.33.6 +pkgrel=6 +pkgdesc="Binding for DBus messaging protocol" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Net-DBus" +license=('GPL' 'PerlArtistic') +depends=('dbus' 'perl-xml-twig') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-${pkgver}.tar.gz") +md5sums=('a1dbce89b1b839fd0e46d74067ae2e35') + +build() { + cd Net-DBus-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Net-DBus-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-net-libidn/PKGBUILD b/community-staging/perl-net-libidn/PKGBUILD new file mode 100644 index 000000000..1d2f41001 --- /dev/null +++ b/community-staging/perl-net-libidn/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47590 2011-05-23 20:30:08Z tdziedzic $ +# Maintainer: Sergej Pupykin + +pkgname=perl-net-libidn +pkgver=0.12 +pkgrel=4 +pkgdesc="Perl/CPAN Module Net::LibIDN" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Net-LibIDN/" +license=("GPL" "PerlArtistic") +depends=(perl libidn) +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${pkgver}.tar.gz") +md5sums=('c3e4de2065009d67bcb1df0afb473e12') + +build() { + cd Net-LibIDN-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Net-LibIDN-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-params-validate/PKGBUILD b/community-staging/perl-params-validate/PKGBUILD new file mode 100644 index 000000000..2dd4124e8 --- /dev/null +++ b/community-staging/perl-params-validate/PKGBUILD @@ -0,0 +1,30 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-params-validate +pkgver=0.98 +pkgrel=2 +pkgdesc="Validate sub params against a spec" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Params-Validate" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz") +md5sums=('6dacb26b1bdb6338b6eed45cd86958bb') + +build() { + cd Params-Validate-${pkgver} + + perl ./Build.PL --installdirs=vendor + + ./Build +} +package(){ + cd Params-Validate-${pkgver} + + ./Build install --destdir=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-string-crc32/PKGBUILD b/community-staging/perl-string-crc32/PKGBUILD new file mode 100644 index 000000000..de3d39177 --- /dev/null +++ b/community-staging/perl-string-crc32/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47584 2011-05-23 20:23:28Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-string-crc32 +pkgver=1.4 +pkgrel=6 +pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/String-CRC32" +license=("GPL" "PerlArtistic") +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/S/SO/SOENKE/String-CRC32-${pkgver}.tar.gz") +md5sums=('9b241bc4a482a3aa59fbb1429bc30546') + +build() { + cd String-CRC32-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd String-CRC32-${pkgver} + + make pure_install doc_install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-text-charwidth/PKGBUILD b/community-staging/perl-text-charwidth/PKGBUILD new file mode 100644 index 000000000..db2e6d27a --- /dev/null +++ b/community-staging/perl-text-charwidth/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47581 2011-05-23 20:20:00Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-text-charwidth +pkgver=0.04 +pkgrel=6 +pkgdesc="Perl/CPAN Module Text::CharWidth" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Text-CharWidth" +license=("GPL" "PerlArtistic") +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz") +md5sums=('37a723df0580c0758c0ee67b37336c15') + +build() { + cd Text-CharWidth-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Text-CharWidth-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-text-kakasi/ChangeLog b/community-staging/perl-text-kakasi/ChangeLog new file mode 100644 index 000000000..0a469fdff --- /dev/null +++ b/community-staging/perl-text-kakasi/ChangeLog @@ -0,0 +1,3 @@ +2008-10-27 Allan McRae + * perl-text-kakasi 2.04-4 + * fixed typo in depends diff --git a/community-staging/perl-text-kakasi/PKGBUILD b/community-staging/perl-text-kakasi/PKGBUILD new file mode 100644 index 000000000..78b522c7c --- /dev/null +++ b/community-staging/perl-text-kakasi/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 47575 2011-05-23 20:14:17Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Allan McRae +# Contributor: François Charette + +pkgname=perl-text-kakasi +pkgver=2.04 +pkgrel=7 +pkgdesc="Perl frontend to kakasi" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Text-Kakasi" +license=('GPL' 'PerlArtistic') +depends=('perl' 'kakasi') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-${pkgver}.tar.gz") +md5sums=('5a9e381cb93edfd707124a63c60f96b1') + +build() { + cd Text-Kakasi-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Text-Kakasi-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-tie-hash-indexed/PKGBUILD b/community-staging/perl-tie-hash-indexed/PKGBUILD new file mode 100644 index 000000000..687e000c1 --- /dev/null +++ b/community-staging/perl-tie-hash-indexed/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 47578 2011-05-23 20:16:48Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Francois Charette + +pkgname=perl-tie-hash-indexed +pkgver=0.05 +pkgrel=6 +pkgdesc="Ordered hashes for Perl" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Tie-Hash-Indexed" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/M/MH/MHX/Tie-Hash-Indexed-${pkgver}.tar.gz) +md5sums=('41e2d013df8cfafdd239bc65bbada014') + +build() { + cd Tie-Hash-Indexed-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Tie-Hash-Indexed-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-www-curl/PKGBUILD b/community-staging/perl-www-curl/PKGBUILD new file mode 100644 index 000000000..ba9fcc3f1 --- /dev/null +++ b/community-staging/perl-www-curl/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 47564 2011-05-23 19:59:27Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch + +pkgname=perl-www-curl +pkgver=4.15 +pkgrel=1 +pkgdesc="Perl/CPAN Module WWW::Curl" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/WWW-Curl/" +license=("GPL" "PerlArtistic") +depends=("curl") +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-${pkgver}.tar.gz") +md5sums=('31c0b8c7e5e2d26bcc8213d702186d5f') + +build() { + cd WWW-Curl-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd WWW-Curl-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/perl-xml-libxml/PKGBUILD b/community-staging/perl-xml-libxml/PKGBUILD new file mode 100644 index 000000000..38d4fd63f --- /dev/null +++ b/community-staging/perl-xml-libxml/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: François Charette + +pkgname=perl-xml-libxml +pkgver=1.70 +pkgrel=4 +pkgdesc="Interface to the libxml library" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/XML-LibXML" +license=('GPL') +depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07') +provides=('perl-libxml' 'perl-xml-libxml-common') +replaces=('perl-libxml' 'perl-xml-libxml-common') +conflicts=('perl-libxml' 'perl-xml-libxml-common') +install=perl-xml-libxml.install +source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz) +md5sums=('33d4294f708e20c298cfe534d1166844') + +build() { + cd $srcdir/XML-LibXML-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd $srcdir/XML-LibXML-$pkgver + make test +} + +package() { + cd $srcdir/XML-LibXML-$pkgver + make pure_install doc_install DESTDIR=$pkgdir +} diff --git a/community-staging/perl-xml-libxml/perl-xml-libxml.install b/community-staging/perl-xml-libxml/perl-xml-libxml.install new file mode 100644 index 000000000..43c29a245 --- /dev/null +++ b/community-staging/perl-xml-libxml/perl-xml-libxml.install @@ -0,0 +1,15 @@ +post_install() { + echo ":: Installing SAX XML Parsers" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" +} + +post_upgrade() { + libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini` + if [[ $libxmlcount == 0 ]]; then + echo ":: Installing SAX XML Parsers" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" + fi +} + diff --git a/community-staging/perl-xmms/PKGBUILD b/community-staging/perl-xmms/PKGBUILD new file mode 100644 index 000000000..053086167 --- /dev/null +++ b/community-staging/perl-xmms/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 47561 2011-05-23 19:55:02Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Georg Grabler + +pkgname=perl-xmms +pkgver=0.12 +pkgrel=6 +pkgdesc="Bundle::Xmms - Bundle for xmms remote control shell" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~dougm/Xmms-Perl/" +depends=('perl' 'xmms' 'libxxf86dga') +license=('GPL' 'PerlArtistic') +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGM/Xmms-Perl-${pkgver}.tar.gz") +md5sums=('d1fbf6d09330f7855dd80f3ceee8e6f7') + +build() { + cd Xmms-Perl-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Xmms-Perl-${pkgver} + + make DESTDIR=${pkgdir} install + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} diff --git a/community-staging/pork/PKGBUILD b/community-staging/pork/PKGBUILD new file mode 100644 index 000000000..53946b6e1 --- /dev/null +++ b/community-staging/pork/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 47556 2011-05-23 19:46:39Z tdziedzic $ +# Maintainer: Jaroslav Lichtblau +# Contributor: William Rea + +pkgname=pork +pkgver=0.99.8.1 +pkgrel=4 +pkgdesc="Console-based AOL Instant Messenger & IRC client" +arch=('i686' 'x86_64') +url="http://dev.ojnk.net/" +license=('GPL') +depends=('ncurses' 'perl') +source=(http://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz) +md5sums=('0c720db7e4e843aeee0fa53ade7cdffd') + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} diff --git a/community/courier-imap/PKGBUILD b/community/courier-imap/PKGBUILD index 1f4192092..e9f064ee9 100644 --- a/community/courier-imap/PKGBUILD +++ b/community/courier-imap/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75457 2010-04-01 16:36:45Z giovanni $ +# $Id: PKGBUILD 47569 2011-05-23 20:05:54Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: tobias # Committer: Manolis Tzanidakis pkgname=courier-imap -pkgver=4.9.2 +pkgver=4.9.3 pkgrel=1 pkgdesc="IMAP(s)/POP3(s) Server" arch=('i686' 'x86_64') @@ -21,7 +21,7 @@ options=('!libtool') source=(http://downloads.sourceforge.net/project/courier/imap/${pkgver}/${pkgname}-${pkgver}.tar.bz2 courier-imap.conf.d courier-imap.rc.d) -md5sums=('fc04f4a75f90a5840f537ab6bd909143' +md5sums=('703ddbb090569436dbda61d0d62b1eb8' '3e08f017f6c5a52dea28f6f0dbd50b86' '3e4910c5a34af68dfdeed932e573a9f9') diff --git a/community/elinks/PKGBUILD b/community/elinks/PKGBUILD index 3754bea1b..efb1ca34f 100644 --- a/community/elinks/PKGBUILD +++ b/community/elinks/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 40826 2011-02-28 13:59:43Z spupykin $ +# $Id: PKGBUILD 47522 2011-05-23 18:32:02Z kkeen $ # Maintainer: Sergej Pupykin # Maintainer: Andrea Scarpino # Contributor: damir @@ -6,22 +6,38 @@ pkgname=elinks pkgver=0.13 -pkgrel=4 +_commit="fe83703714fd5e16401dcd152d9bdcec6036424d" +pkgrel=5 pkgdesc="An advanced and well-established feature-rich text mode web browser." arch=("i686" "x86_64") url="http://elinks.or.cz" license=('GPL') depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua>=5.1.1' 'libidn' 'spidermonkey>=1.7.0' 'gc' 'tre' 'smbclient') -_commit="dfc666dd754491a9c986fbd19179b354acde30b9" -#source=("elinks-$pkgver-${_commit}.tar.gz::http://repo.or.cz/w/elinks.git/snapshot/${_commit}.tar.gz" -source=("http://arch.p5n.pp.ru/~sergej/dl/elinks-$pkgver-${_commit}.tar.gz" - "${pkgname}.desktop") -md5sums=('c41d66285654d72c197a99973393bf06' - 'ef70f6bb7457799a979fb201615369e6') +source=() +md5sums=() + +__gitroot="http://elinks.cz/elinks.git" +__gitname="elinks" build() { - cd elinks || cd `find $srcdir -maxdepth 1 -type d -name elinks-$pkgver\*` + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $__gitname ] ; then + cd $__gitname && git pull origin + msg "The local files are updated." + else + git clone $__gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$__gitname-build" + git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build" + cd "$srcdir/$__gitname-build" + git checkout "$_commit" [ -x configure ] || sh autogen.sh ./configure --prefix=/usr --mandir=/usr/share/man \ @@ -30,9 +46,13 @@ build() { --enable-leds --enable-256-colors --enable-html-highlight \ --with-zlib make - make DESTDIR=${pkgdir} install - rm -f ${pkgdir}/usr/share/locale/locale.alias +} + +package() { + cd "$srcdir/$__gitname-build" + make DESTDIR="$pkgdir" install + rm -f "$pkgdir/usr/share/locale/locale.alias" - install -D -m644 ${srcdir}/${pkgname}.desktop \ - ${pkgdir}/usr/share/applications/${pkgname}.desktop + install -D -m644 "$srcdir/$__gitname-build/contrib/debian/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" } diff --git a/community/filezilla/PKGBUILD b/community/filezilla/PKGBUILD index 4b7e9ea0e..2ca8fdff9 100644 --- a/community/filezilla/PKGBUILD +++ b/community/filezilla/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 43810 2011-03-29 21:55:24Z jelle $ +# $Id: PKGBUILD 47441 2011-05-23 10:00:33Z jelle $ # Contributor: Alexander Fehr # Maintainer: Daniel J Griffiths pkgname=filezilla -pkgver=3.4.0 +pkgver=3.5.0 pkgrel=1 pkgdesc="Fast and reliable FTP, FTPS and SFTP client" arch=('i686' 'x86_64') url="http://filezilla-project.org/" license=('GPL') -depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme') +depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite3') install=filezilla.install source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2") md5sums=('25617d75167d07c0d3cfced69a4cf7cc') @@ -32,4 +32,4 @@ package() { make DESTDIR=${pkgdir} install } -md5sums=('837fbea08366b9f9de02b1671994697e') +md5sums=('6a83c3afe99c2679d5a3aa73607d80a7') diff --git a/community/libfaketime/PKGBUILD b/community/libfaketime/PKGBUILD new file mode 100644 index 000000000..a95ab380d --- /dev/null +++ b/community/libfaketime/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 47438 2011-05-23 06:26:34Z lfleischer $ +# Maintainer: Lukas Fleischer +# Contributor: Dan Serban +# Contributor: Ross Melin + +pkgname=libfaketime +pkgver=0.8.1 +pkgrel=1 +pkgdesc='Report fake dates and times to programs without having to change the system-wide time.' +arch=('i686' 'x86_64') +url='http://www.code-wizards.com/projects/libfaketime/' +license=('GPL2') +source=("http://www.code-wizards.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('113d75d73e39f0f5022dc7385628d57c') + +build() { + cd "${pkgname}-${pkgver}" + make +} + +package() { + cd "${pkgname}-${pkgver}" + make PREFIX=/usr DESTDIR="${pkgdir}" install +} diff --git a/community/nethogs/PKGBUILD b/community/nethogs/PKGBUILD index b07aa4762..3ed0be492 100644 --- a/community/nethogs/PKGBUILD +++ b/community/nethogs/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Daenyth pkgname=nethogs pkgver=0.7.0 -pkgrel=3 +pkgrel=4 pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface" url="http://nethogs.sourceforge.net" license=(GPL) @@ -22,7 +22,8 @@ build() { patch -Np1 -i "$srcdir/gcc44.patch" make - install -d "$pkgdir/usr/{bin,share/man/man8}" + install -d "$pkgdir/usr/bin" + install -d "$pkgdir/usr/share/man/man8" make DESTDIR="$pkgdir/usr" install } # vim:set ts=2 sw=2 et: diff --git a/extra/banshee/PKGBUILD b/extra/banshee/PKGBUILD index 84b0edcf2..39961936b 100644 --- a/extra/banshee/PKGBUILD +++ b/extra/banshee/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 122335 2011-05-03 22:31:33Z ibiru $ +# $Id: PKGBUILD 124622 2011-05-23 14:30:18Z ibiru $ # Contributor: György Balló pkgname=banshee pkgver=2.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Music management and playback for GNOME" arch=('i686' 'x86_64') url="http://banshee.fm/" license=('MIT') -depends=('libxxf86vm' 'mono-addins' 'notify-sharp-svn' 'boo' 'libwebkit' 'gdata-sharp' 'gtk-sharp-beans' 'gudev-sharp' 'ipod-sharp' 'gkeyfile-sharp' 'taglib-sharp' 'libmtp' 'libgpod' 'mono-zeroconf' 'gstreamer0.10-base-plugins' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'gconf-sharp') +depends=('libxxf86vm' 'mono-addins' 'notify-sharp-svn' 'boo' 'libwebkit' 'gdata-sharp' 'gtk-sharp-beans' 'gudev-sharp' 'gkeyfile-sharp' 'taglib-sharp' 'libmtp' 'libgpod' 'mono-zeroconf' 'gstreamer0.10-base-plugins' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'gconf-sharp') makedepends=('intltool' 'gnome-doc-utils') optdepends=('gstreamer0.10-good-plugins: Extra media codecs' 'gstreamer0.10-ugly-plugins: Extra media codecs' diff --git a/extra/fetchmail/PKGBUILD b/extra/fetchmail/PKGBUILD index 9463a9277..796d84761 100644 --- a/extra/fetchmail/PKGBUILD +++ b/extra/fetchmail/PKGBUILD @@ -1,26 +1,30 @@ -# $Id: PKGBUILD 102917 2010-12-13 01:30:42Z eric $ +# $Id: PKGBUILD 124586 2011-05-23 05:55:07Z eric $ # Maintainer: Aaron Griffin pkgname=fetchmail pkgver=6.3.19 -pkgrel=1 +pkgrel=2 pkgdesc="A remote-mail retrieval utility" -url="http://fetchmail.berlios.de/" arch=('i686' 'x86_64') +url="http://fetchmail.berlios.de/" +license=('GPL') depends=('glibc' 'openssl' 'python2') -optdepends=('tk: fetchmailconf') +optdepends=('tk: for using fetchmailconf') +backup=('etc/conf.d/fetchmail') options=('!makeflags') -license=('GPL') install=fetchmail.install source=(http://download2.berlios.de/fetchmail/${pkgname}-${pkgver}.tar.bz2 fetchmail.rc fetchmail.conf) -md5sums=('64519711c8533f5a34d20c9ff620d880' '6742e99d65a827bc2b9d6bc8efe269e6'\ +md5sums=('64519711c8533f5a34d20c9ff620d880' + '89fdde15bf81b3a5c065949322b5d138' '8fcd6a22dfbc247755fdd050c5c5c4d3') -sha1sums=('fcc9b9299fe147d8f522cff93f8f619e5e1372b7' '13c7e3c538211c79c5b403f2bfa6712a2ad0ac30'\ - '30401729386d6f774c6c36ab8530842166de54a8') +sha1sums=('fcc9b9299fe147d8f522cff93f8f619e5e1372b7' + '910ec21ad0a619db67e4665189dc46d2a0634ea5' + '30401729386d6f774c6c36ab8530842166de54a8') build() { cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py ./configure --prefix=/usr --with-ssl=/usr make } @@ -28,10 +32,6 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail" install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail" - - # "home" directory for pid file. - install -d -o 90 -g nobody -m700 "${pkgdir}/var/run/fetchmail" } diff --git a/extra/fetchmail/fetchmail.rc b/extra/fetchmail/fetchmail.rc index 7c25f72b2..6d453a223 100644 --- a/extra/fetchmail/fetchmail.rc +++ b/extra/fetchmail/fetchmail.rc @@ -8,13 +8,12 @@ PID=`pidof -o %PPID /usr/bin/fetchmail` case "$1" in start) stat_busy "Starting fetchmail" + [ ! -d /var/run/fetchmail ] && install -d -o fetchmail -g nobody -m700 /var/run/fetchmail [ -z "$PID" ] && su -c "/usr/bin/fetchmail -d $INTERVAL -f $CONFIG" -s /bin/sh fetchmail if [ $? -gt 0 ]; then stat_fail else - #Fetchmail does this for us: - #echo $PID > /var/run/fetchmail.pid add_daemon fetchmail stat_done fi diff --git a/extra/gnome-desktop-sharp/PKGBUILD b/extra/gnome-desktop-sharp/PKGBUILD index 0ca1779fb..34681fe3f 100644 --- a/extra/gnome-desktop-sharp/PKGBUILD +++ b/extra/gnome-desktop-sharp/PKGBUILD @@ -1,16 +1,14 @@ -# $Id: PKGBUILD 121043 2011-04-28 09:15:35Z heftig $ +# $Id: PKGBUILD 124614 2011-05-23 14:21:08Z ibiru $ # Maintainer: Jan de Groot -pkgname=gnome-desktop-sharp +pkgbase=gnome-desktop-sharp +pkgname=('gnome-desktop-sharp' 'libgnome-desktop-sharp' 'gnome-print-sharp' 'gtkhtml-sharp' 'gtksourceview2-sharp' 'rsvg2-sharp' 'vte-sharp' 'wnck-sharp') pkgver=2.26.0 -pkgrel=6 -pkgdesc="GNOME desktop bindings for C#" +pkgrel=7 arch=('i686' 'x86_64') license=(LGPL) url="http://gtk-sharp.sourceforge.net" -depends=('gnome-sharp' 'gnome-desktop2' 'vte' 'librsvg' 'libwnck' 'gtkhtml' 'gtksourceview2') -makedepends=('monodoc' 'libgnomeprintui') -optdepends=('libgnomeprintui') +makedepends=('gnome-sharp' 'gnome-desktop2' 'vte' 'librsvg' 'libgnomeprintui' 'libwnck' 'gtkhtml' 'gtksourceview2' 'monodoc') options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 gnome-desktop-sharp-lib-target.patch) @@ -18,18 +16,72 @@ md5sums=('4bc990900bb318b2ba0b0e7998bb47d1' '980cd3adf5e745f4caee0a172a51dcc3') build() { - # get rid of that .wapi errors; thanks to brice - export MONO_SHARED_DIR="$srcdir/wapi" - mkdir -p "$MONO_SHARED_DIR" + export MONO_SHARED_DIR="$srcdir/wapi" + mkdir -p "$MONO_SHARED_DIR" - cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i $srcdir/gnome-desktop-sharp-lib-target.patch - ./configure --prefix=/usr --sysconfdir=/etc - make + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i $srcdir/gnome-desktop-sharp-lib-target.patch + ./configure --prefix=/usr --sysconfdir=/etc + make } -package() { - cd "$srcdir/$pkgname-$pkgver" - make GACUTIL="/usr/bin/gacutil /root ${pkgdir}/usr/lib" \ - DESTDIR="$pkgdir" install +package_gnome-desktop-sharp() { + pkgdesc="GNOME desktop bindings for C#" + depends=('libgnome-desktop-sharp' 'gnome-print-sharp' 'gtkhtml-sharp' 'gtksourceview2-sharp' 'rsvg2-sharp' 'vte-sharp' 'wnck-sharp') +} + +package_libgnome-desktop-sharp() { + pkgdesc="Mono bindings for libgnome-desktop" + depends=('gtk-sharp-2' 'gnome-desktop2') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gnomedesktop install DESTDIR="$pkgdir" +} + +package_gnome-print-sharp() { + pkgdesc="Mono bindings for libgnomeprint and libgnomeprintui" + depends=('art-sharp' 'libgnomeprintui') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gnomeprint install DESTDIR="$pkgdir" +} + +package_gtkhtml-sharp() { + pkgdesc="Mono bindings for gtkhtml" + depends=('gtk-sharp-2' 'gtkhtml') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gtkhtml install DESTDIR="$pkgdir" +} + +package_gtksourceview2-sharp() { + pkgdesc="Mono bindings for gtksourceview2" + depends=('gtk-sharp-2' 'gtksourceview2') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gtksourceview install DESTDIR="$pkgdir" +} + +package_rsvg2-sharp() { + pkgdesc="Mono bindings for librsvg" + depends=('gtk-sharp-2' 'librsvg') + + cd "$srcdir/$pkgbase-$pkgver" + make -C rsvg install DESTDIR="$pkgdir" +} + +package_vte-sharp() { + pkgdesc="Mono bindings for libvte" + depends=('gtk-sharp-2' 'vte') + + cd "$srcdir/$pkgbase-$pkgver" + make -C vte install DESTDIR="$pkgdir" +} + +package_wnck-sharp() { + pkgdesc="Mono bindings for libwnck" + depends=('gtk-sharp-2' 'libwnck') + + cd "$srcdir/$pkgbase-$pkgver" + make -C wnck install DESTDIR="$pkgdir" } diff --git a/extra/libgnome-keyring/PKGBUILD b/extra/libgnome-keyring/PKGBUILD index 7b356f790..7517d586b 100644 --- a/extra/libgnome-keyring/PKGBUILD +++ b/extra/libgnome-keyring/PKGBUILD @@ -1,9 +1,9 @@ -#$Id: PKGBUILD 124476 2011-05-22 15:05:01Z ibiru $ +#$Id: PKGBUILD 124609 2011-05-23 13:28:25Z ibiru $ #Maintainer: Jan De Groot pkgname=libgnome-keyring pkgver=3.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="GNOME keyring client library" arch=(i686 x86_64) license=('GPL' 'LGPL') @@ -11,11 +11,14 @@ depends=('dbus-core' 'libgcrypt' 'glib2') makedepends=('intltool' 'pkgconfig') options=('!libtool' '!emptydirs') url="http://www.gnome.org" -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('7914ac5edae5e602ba8f7c505ecd18faa84e8482a3f4e6ee0a20aee3a24d6f5d') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + fix_crash.patch) +sha256sums=('7914ac5edae5e602ba8f7c505ecd18faa84e8482a3f4e6ee0a20aee3a24d6f5d' + '4b8c3d9cbc72d171b274e9ad38b01ff9f7ce92beaf1d1e89c54db70d6c4e8a6a') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/fix_crash.patch" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --libexecdir=/usr/lib/gnome-keyring diff --git a/extra/libgnome-keyring/fix_crash.patch b/extra/libgnome-keyring/fix_crash.patch new file mode 100644 index 000000000..1e28cdb73 --- /dev/null +++ b/extra/libgnome-keyring/fix_crash.patch @@ -0,0 +1,35 @@ +From 9bcac748b54e00836715b0f70be26b7cbdc8c888 Mon Sep 17 00:00:00 2001 +From: Martin Pitt +Date: Mon, 23 May 2011 08:58:49 +0000 +Subject: Fix crash from recent memleak fix (b49e32b) + +make_attribute_list_va() statically copies the caller's method arguments into +the GnomeKeyringAttributeList, so we must only free the array itself, not the +GnomeKeyringAttribute strings. + +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=650840 +--- +diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c +index dc271dd..4febf47 100644 +--- a/library/gnome-keyring.c ++++ b/library/gnome-keyring.c +@@ -2443,7 +2443,7 @@ gnome_keyring_find_itemsv (GnomeKeyringItemType type, + va_end (args); + + ret = gnome_keyring_find_items (type, attributes, callback, data, destroy_data); +- gnome_keyring_attribute_list_free (attributes); ++ g_array_free (attributes, TRUE); + return ret; + } + +@@ -2520,7 +2520,7 @@ gnome_keyring_find_itemsv_sync (GnomeKeyringItemType type, + va_end (args); + + ret = gnome_keyring_find_items_sync (type, attributes, found); +- gnome_keyring_attribute_list_free (attributes); ++ g_array_free (attributes, TRUE); + return ret; + } + +-- +cgit v0.9 diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 3e7cd9f75..3623e1dd5 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 111658 2011-02-28 03:23:17Z allan $ +# $Id: PKGBUILD 124693 2011-05-24 03:40:20Z eric $ # Maintainer: Allan McRae # Contributor: Simone Sclavi 'Ito' pkgname=libjpeg-turbo -pkgver=1.1.0 +pkgver=1.1.1 pkgrel=1 pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression" arch=('i686' 'x86_64') url="http://libjpeg-turbo.virtualgl.org/" license=('GPL' 'custom') +depends=('glibc') makedepends=('nasm') provides=('libjpeg=8.0.2') conflicts=('libjpeg') replaces=('libjpeg') options=('!libtool') source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('83e6914a281d649ad289445dc20f9de4') +md5sums=('03b9c1406c7bfdc204313c2917ce6962') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,6 +29,5 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install - install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE" } - diff --git a/extra/neverball/PKGBUILD b/extra/neverball/PKGBUILD index 126f2b0c0..cd9c5a79b 100644 --- a/extra/neverball/PKGBUILD +++ b/extra/neverball/PKGBUILD @@ -1,15 +1,14 @@ -# $Id: PKGBUILD 63937 2010-01-19 04:44:36Z eric $ -# Maintainer: Eric Belanger -# Contributor: Ben +# $Id: PKGBUILD 124594 2011-05-23 08:40:29Z eric $ +# Maintainer: Eric Bélanger pkgname=neverball pkgver=1.5.4 -pkgrel=2 +pkgrel=3 pkgdesc="3D game similar to Super Monkey Ball or Marble Madness" arch=('i686' 'x86_64') url="http://neverball.org/" license=('GPL') -depends=('sdl_ttf' 'libgl' 'libpng' 'libjpeg>=7' 'libvorbis' 'physfs') +depends=('sdl_ttf' 'libgl' 'libpng' 'libjpeg' 'libvorbis' 'physfs') makedepends=('mesa') source=(http://neverball.org/${pkgname}-${pkgver}.tar.gz) md5sums=('c523b0f72c2035831310e821162f7bd7') @@ -17,36 +16,31 @@ sha1sums=('619c227e1958bd60738f12dbbde9b30c91dd79a7') build() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's|#define CONFIG_LOCALE "./locale"|#define CONFIG_LOCALE "/usr/share/locale"|' share/base_config.h || return 1 + sed -i 's|#define CONFIG_LOCALE "./locale"|#define CONFIG_LOCALE "/usr/share/locale"|' share/base_config.h if [ "${CARCH}" = "i686" ] ;then - make ENABLE_NLS=1 DATADIR=/usr/share/neverball SSE_CFLAGS="" || return 1 + make ENABLE_NLS=1 DATADIR=/usr/share/neverball SSE_CFLAGS="" else - make ENABLE_NLS=1 DATADIR=/usr/share/neverball || return 1 + make ENABLE_NLS=1 DATADIR=/usr/share/neverball fi +} - install -D -m755 neverball "${pkgdir}/usr/bin/neverball" || return 1 - install -D -m755 neverputt "${pkgdir}/usr/bin/neverputt" || return 1 - install -D -m755 mapc "${pkgdir}/usr/bin/mapc" || return 1 - - install -d "${pkgdir}/usr/share/neverball" - cp -r data/* "${pkgdir}/usr/share/neverball/" || return 1 +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}"/usr/share/{neverball,locale,applications,pixmaps,doc/neverball} + install -d "${pkgdir}"/usr/share/man/man{1,6} + + install -m755 neverball neverputt mapc "${pkgdir}/usr/bin" + cp -r locale/* "${pkgdir}/usr/share/locale/" + cp -r data/* "${pkgdir}/usr/share/neverball/" + install -m644 doc/* "${pkgdir}/usr/share/doc/neverball/" + install -m644 dist/*.desktop "${pkgdir}/usr/share/applications/" + install -m644 dist/*.png "${pkgdir}/usr/share/pixmaps/" + install -m644 dist/mapc.1 "${pkgdir}/usr/share/man/man1" + install -m644 dist/{neverball.6,neverputt.6} "${pkgdir}/usr/share/man/man6" + + ln -s neverball_48.png "${pkgdir}/usr/share/pixmaps/neverball.png" + ln -s neverputt_48.png "${pkgdir}/usr/share/pixmaps/neverputt.png" find "${pkgdir}/usr/share/neverball" -type f -exec chmod 0644 {} \; - - install -d "${pkgdir}/usr/share/locale" - cp -r locale/* "${pkgdir}/usr/share/locale/" || return 1 - - install -d "${pkgdir}/usr/share/applications" - install -d "${pkgdir}/usr/share/pixmaps" - install -m644 dist/*.desktop "${pkgdir}/usr/share/applications/" || return 1 - install -m644 dist/*.png "${pkgdir}/usr/share/pixmaps/" || return 1 - ln -s neverball_48.png "${pkgdir}/usr/share/pixmaps/neverball.png" || return 1 - ln -s neverputt_48.png "${pkgdir}/usr/share/pixmaps/neverputt.png" || return 1 - - install -d "${pkgdir}/usr/share/doc/neverball" - install -m644 doc/* "${pkgdir}/usr/share/doc/neverball/" || return 1 - - install -D -m644 dist/mapc.1 "${pkgdir}/usr/share/man/man1/mapc.1" || return 1 - install -D -m644 dist/neverball.6 "${pkgdir}/usr/share/man/man6/neverball.6" || return 1 - install -D -m644 dist/neverputt.6 "${pkgdir}/usr/share/man/man6/neverputt.6" || return 1 } diff --git a/extra/sox/PKGBUILD b/extra/sox/PKGBUILD index ce7768a7a..d9f3730c9 100644 --- a/extra/sox/PKGBUILD +++ b/extra/sox/PKGBUILD @@ -1,20 +1,21 @@ -# $Id: PKGBUILD 117296 2011-03-30 18:17:00Z schiv $ +# $Id: PKGBUILD 124581 2011-05-23 04:58:46Z eric $ # Maintainer: Eric Bélanger pkgname=sox pkgver=14.3.2 -pkgrel=2 +pkgrel=3 pkgdesc="The Swiss Army knife of sound processing tools" arch=('i686' 'x86_64') url="http://sox.sourceforge.net/" license=('GPL' 'LGPL') depends=('libtool' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr') -makedepends=('ffmpeg' 'libao' 'libmad' 'libid3tag' 'wavpack') +makedepends=('ffmpeg' 'libao' 'libmad' 'libid3tag' 'wavpack' 'libpulse') optdepends=('libao: for ao plugin' 'ffmpeg: for ffmpeg plugin' 'libmad: for mp3 plugin' 'libid3tag: for mp3 plugin' - 'wavpack: for wavpack plugin') + 'wavpack: for wavpack plugin' + 'libpulse: for pulse plugin') options=('!libtool') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('f6e1999b05d9b0cc9bb47ce8d3208dee') @@ -22,6 +23,7 @@ sha1sums=('026636c90d7accba76225a2821aaa2ffa6fe41a3') build() { cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|man1/sox.1 soxeffect.7|man1/sox.1.gz soxeffect.7.gz|' Makefile.am ./configure --prefix=/usr --sysconfdir=/etc \ --with-dyn-default --with-distro="Arch Linux" make @@ -30,6 +32,4 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - ln -sf play "${pkgdir}/usr/bin/rec" - ln -sf ../man1/sox.1.gz "${pkgdir}/usr/share/man/man7/soxeffect.7" } diff --git a/staging/glib-perl/PKGBUILD b/staging/glib-perl/PKGBUILD new file mode 100644 index 000000000..89610fe1e --- /dev/null +++ b/staging/glib-perl/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 124651 2011-05-23 19:33:30Z remy $ +# Maintainer: Jan de Groot +# Contributor: Sarah Hay + +pkgname=glib-perl +_realname=Glib +pkgver=1.223 +pkgrel=3 +pkgdesc="Perl wrappers for glib 2.x, including GObject" +arch=(i686 x86_64) +license=('LGPL') +url="http://gtk2-perl.sourceforge.net/" +options=('!emptydirs') +depends=('glib2>=2.24.1' 'perl>=5.14') +makedepends=('perl-extutils-depends>=0.302' 'perl-extutils-pkgconfig>=1.12') +source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz) +md5sums=('cfdeaa8c95448f86c30b505e4701abf1') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/staging/perl-tk/PKGBUILD b/staging/perl-tk/PKGBUILD new file mode 100644 index 000000000..2a80a320e --- /dev/null +++ b/staging/perl-tk/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 124660 2011-05-23 20:07:22Z remy $ +# Maintainer: François Charette +# Contributor: Jason Chu +# Contributor: Juergen Hoetzel + +pkgname=perl-tk +_cpanname=Tk +pkgver=804.029 +pkgrel=3 +pkgdesc="A graphical user interface toolkit for Perl" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/${_cpanname}" +license=('PerlArtistic' 'GPL' 'custom') +depends=('libx11' 'libpng' 'libjpeg' 'tk' 'perl') +options=('!emptydirs') +replaces=('perltk') +provides=('perltk') +source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz) +md5sums=('f4aebe6fcdb309a8480514f2ccf8117c') + +build() { + cd $srcdir/${_cpanname}-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + /bin/chmod -R u+w * + # The Xlib header is wrong... + sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h + make +} + +#check() { +# cd $srcdir/${_cpanname}-$pkgver +# make test +#} + +package() { + cd $srcdir/${_cpanname}-$pkgver + make install DESTDIR=$pkgdir + + # license + install -D -m644 pTk/license.terms \ + ${startdir}/pkg/usr/share/licenses/${pkgname}/tk.license + install -D -m644 pTk/Tix.license \ + ${startdir}/pkg/usr/share/licenses/${pkgname}/tix.license +} diff --git a/staging/pidgin/PKGBUILD b/staging/pidgin/PKGBUILD new file mode 100644 index 000000000..a6da4e4f2 --- /dev/null +++ b/staging/pidgin/PKGBUILD @@ -0,0 +1,102 @@ +# $Id: PKGBUILD 124591 2011-05-23 06:05:31Z foutrelis $ +# Maintainer: Evangelos Foutras +# Contributor: Ionut Biru +# Contributor: Andrea Scarpino +# Contributor: Alexander Fehr +# Contributor: Lucien Immink + +pkgname=('pidgin' 'libpurple' 'finch') +pkgver=2.7.11 +pkgrel=4 +arch=('i686' 'x86_64') +url="http://pidgin.im/" +license=('GPL') +makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm' + 'python2' 'hicolor-icon-theme' 'silc-toolkit' 'gstreamer0.10' + 'farsight2' 'avahi' 'tk' 'ca-certificates' 'intltool' + 'networkmanager') +options=('!libtool') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('07c2a2535b4d7436b5ec7685fe063fec') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Use Python 2 + sed -i 's/env python$/\02/' */plugins/*.py \ + libpurple/purple-{remote,notifications-example,url-handler} + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-schemas-install \ + --disable-meanwhile \ + --disable-gnutls \ + --enable-cyrus-sasl \ + --disable-doxygen \ + --enable-nm \ + --with-python=/usr/bin/python2 \ + --with-system-ssl-certs=/etc/ssl/certs + make +} + +package_pidgin(){ + pkgdesc="Multi-protocol instant messaging client" + depends=("libpurple=$pkgver-$pkgrel" 'startup-notification' 'gtkspell' + 'libxss' 'libsm' 'gstreamer0.10' 'hicolor-icon-theme') + optdepends=('aspell: for spelling correction' + 'ca-certificates: SSL CA certificates' + 'gstreamer0.10-good-plugins: video and voice support' + 'tk: Tcl/Tk scripting support') + install=pidgin.install + + cd "$srcdir/pidgin-$pkgver" + + # For linking + make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES + + make -C pidgin DESTDIR="$pkgdir" install + make -C doc DESTDIR="$pkgdir" install + + # Remove files that are packaged in libpurle + make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES + + install -Dm644 pidgin.desktop "$pkgdir"/usr/share/applications/pidgin.desktop + + rm "$pkgdir/usr/share/man/man1/finch.1" +} + +package_libpurple(){ + pkgdesc="IM library extracted from Pidgin" + depends=('farsight2' 'libsasl' 'dbus-glib' 'silc-toolkit' 'nss' + 'cyrus-sasl-plugins') + optdepends=('avahi: Bonjour protocol support' + 'dbus-python: for purple-remote and purple-url-handler') + + cd "$srcdir/pidgin-$pkgver" + + for _dir in libpurple share/sounds share/ca-certs m4macros po; do + make -C "$_dir" DESTDIR="$pkgdir" install + done +} + +package_finch(){ + pkgdesc="A ncurses-based messaging client" + depends=("libpurple=$pkgver-$pkgrel" 'python2' 'gstreamer0.10') + optdepends=('avahi: Bonjour protocol support' + 'ca-certificates: SSL CA certificates' + 'tk: Tcl/Tk scripting support') + + cd "$srcdir/pidgin-$pkgver" + + # For linking + make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES + + make -C finch DESTDIR="$pkgdir" install + make -C doc DESTDIR="$pkgdir" install + + # Remove files that are packaged in libpurle + make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES + + rm "$pkgdir"/usr/share/man/man1/pidgin.1 +} diff --git a/staging/pidgin/pidgin.install b/staging/pidgin/pidgin.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/staging/pidgin/pidgin.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/accountsservice/PKGBUILD b/testing/accountsservice/PKGBUILD new file mode 100644 index 000000000..5f0c6e93a --- /dev/null +++ b/testing/accountsservice/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 124664 2011-05-23 20:15:43Z ibiru $ +# Maintainer: Ionut Biru +pkgname=accountsservice +pkgver=0.6.12 +pkgrel=1 +pkgdesc="D-Bus interface for user account query and manipulation" +arch=(i686 x86_64) +url="http://cgit.freedesktop.org/accountsservice/" +license=('GPL3') +depends=('dbus-glib' 'polkit') +makedepends=('intltool' 'gobject-introspection') +options=('!libtool') +source=(http://cgit.freedesktop.org/accountsservice/snapshot/${pkgname}-${pkgver}.tar.bz2) +md5sums=('2fcf38a65d574dd2fe6ba182ff4de053') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/accountsservice \ + --with-systemdsystemunitdir=/lib/systemd/system \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/anjuta/PKGBUILD b/testing/anjuta/PKGBUILD new file mode 100644 index 000000000..eea7f3e07 --- /dev/null +++ b/testing/anjuta/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 124683 2011-05-23 21:00:48Z ibiru $ +# Maintainer: Andreas Radke +# Contributor: Harley Laue + +pkgname=anjuta +pkgver=3.0.2.0 +pkgrel=1 +pkgdesc="GNOME Integrated Development Environment (IDE)" +arch=('i686' 'x86_64') +license=('GPL') +depends=('vte3' 'gdl' 'autogen' 'devhelp' 'gtksourceview3' 'glade' 'libgda' + 'subversion' 'gnome-icon-theme' 'hicolor-icon-theme' 'vala' 'graphviz' + 'python2' 'shared-mime-info' 'desktop-file-utils') +makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection') +url="http://anjuta.sourceforge.net/" +install=anjuta.install +source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*.*}/${pkgname}-${pkgver}.tar.bz2) +options=('!libtool' '!emptydirs') +sha256sums=('5dce2cf455f9feeea31aea6bce5bae1dbd35793ba8c8009675608dae4d67bac0') + +build() { + cd "${srcdir}/anjuta-${pkgver}" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper + make +} + +package(){ + cd "${srcdir}/anjuta-${pkgver}" + + make DESTDIR="${pkgdir}" install + + sed -i "1s|#!/usr/bin/python$|&2|" \ + $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py +} diff --git a/testing/anjuta/anjuta.install b/testing/anjuta/anjuta.install new file mode 100644 index 000000000..c6fcfec11 --- /dev/null +++ b/testing/anjuta/anjuta.install @@ -0,0 +1,21 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f usr/share/icons/gnome + update-mime-database usr/share/mime > /dev/null +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall anjuta + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/empathy/PKGBUILD b/testing/empathy/PKGBUILD new file mode 100644 index 000000000..8b758fd16 --- /dev/null +++ b/testing/empathy/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 124631 2011-05-23 15:09:42Z ibiru $ +# Maintainer: Ionut Biru +pkgname=empathy +pkgver=3.0.2 +pkgrel=1 +pkgdesc="A GNOME instant messaging client using the Telepathy framework." +arch=('i686' 'x86_64') +url="http://live.gnome.org/Empathy" +license=('GPL2') +depends=('telepathy-glib' 'telepathy-mission-control' 'folks' 'telepathy-logger' 'telepathy-farsight' 'gnome-keyring' 'gnutls' 'evolution-data-server' + 'libcanberra' 'libnotify' 'enchant' 'iso-codes' 'libwebkit3' 'dconf' 'ca-certificates') +makedepends=('intltool' 'gnome-doc-utils' 'nautilus-sendto' 'gnome-control-center') +optdepends=('telepathy-gabble: XMPP/Jabber support' + 'telepathy-butterfly: MSN support' + 'telepathy-idle: IRC support' + 'telepathy-salut: Link-local XMPP support' + 'telepathy-sofiasip: SIP support' + 'telepathy-haze: libpurple support') +options=('!libtool') +groups=('gnome-extra') +install=empathy.install +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('8074f6ce951fb95b1e13c546497e22d487bca9a87d88f1ebb903cdd2fd48bdc2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/empathy \ + --disable-static \ + --disable-scrollkeeper \ + --disable-schemas-compile + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/empathy/empathy.install b/testing/empathy/empathy.install new file mode 100644 index 000000000..63dd6b907 --- /dev/null +++ b/testing/empathy/empathy.install @@ -0,0 +1,16 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo "To use Empathy you need to install at least one Telepathy connection manager." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/testing/evolution-data-server/PKGBUILD b/testing/evolution-data-server/PKGBUILD new file mode 100644 index 000000000..040385490 --- /dev/null +++ b/testing/evolution-data-server/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 124640 2011-05-23 17:24:46Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=evolution-data-server +pkgver=3.0.2.1 +pkgrel=1 +pkgdesc="Central location for addressbook and calendar storage in the GNOME Desktop" +arch=('i686' 'x86_64') +depends=('libsoup' 'nss' 'libgnome-keyring' 'krb5' 'libgweather' 'libical' 'db' 'libgdata') +makedepends=('intltool' 'gperf' 'gobject-introspection') +options=('!libtool') +url="http://www.gnome.org" +license=('GPL') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('1b14c57a835745ee2c0141a76a07d44688dfb2d758bf3b818fe1860b59451f9b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --with-openldap=yes \ + --libexecdir=/usr/lib/evolution-data-server \ + --with-krb5=/usr --with-libdb=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/evolution-exchange/PKGBUILD b/testing/evolution-exchange/PKGBUILD new file mode 100644 index 000000000..c494c1fba --- /dev/null +++ b/testing/evolution-exchange/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 124646 2011-05-23 18:11:32Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=evolution-exchange +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Ximian Connector Exchange plugin for Evolution" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.ximian.com" +depends=('evolution-data-server' 'gtkhtml4' 'gnome-desktop' 'libunique3') +makedepends=('intltool' 'evolution') +options=('!libtool' '!emptydirs') +install=evolution-exchange.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('84f5c638aee1f6ed49de0d0f331d3b29907f7b211bd6c70f37698dedcd3e5f5a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/evolution --disable-static \ + --with-libdb=/usr --with-krb5=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain evolution-exchange-3.0 ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/evolution-exchange/evolution-exchange.install b/testing/evolution-exchange/evolution-exchange.install new file mode 100644 index 000000000..1179887f9 --- /dev/null +++ b/testing/evolution-exchange/evolution-exchange.install @@ -0,0 +1,17 @@ +pkgname=evolution-exchange + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} diff --git a/testing/evolution/PKGBUILD b/testing/evolution/PKGBUILD new file mode 100644 index 000000000..0c91802b7 --- /dev/null +++ b/testing/evolution/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 124643 2011-05-23 17:54:16Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=evolution +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Integrated Workgroup and Personal Information Management for Gnome" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gnome-desktop' 'evolution-data-server' 'gtkhtml4' 'libcanberra' 'libsm' 'gstreamer0.10' 'libunique3' 'libnotify' 'libpst' 'libytnef' + 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool' 'gnome-doc-utils' 'networkmanager') +optdepends=('bogofilter: possible junk filter plugin' + 'spamassassin: possible junk filter plugin') +groups=('gnome-extra') +options=('!libtool' '!emptydirs') +install=evolution.install +url=http://www.gnome.org/projects/evolution/ +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('6fdf6a39a89bb04c406225984e5b730e86a370024f30ef9cf019840be9fbe59a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --disable-scrollkeeper \ + --enable-nss=yes \ + --with-openldap=yes \ + --enable-smime=yes \ + --with-krb5=/usr \ + --disable-image-inline + make + make -C plugins/tnef-attachments +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + make -C plugins/tnef-attachments DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain evolution-3.0 ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/evolution/evolution.install b/testing/evolution/evolution.install new file mode 100644 index 000000000..a2c3aaa54 --- /dev/null +++ b/testing/evolution/evolution.install @@ -0,0 +1,24 @@ +pkgname=evolution + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/testing/gdl/PKGBUILD b/testing/gdl/PKGBUILD new file mode 100644 index 000000000..a20a92c9b --- /dev/null +++ b/testing/gdl/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 124671 2011-05-23 20:42:08Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=gdl +pkgver=3.0.2 +pkgrel=1 +pkgdesc="GNOME Docking Library" +arch=(i686 x86_64) +license=('GPL') +url="http://www.gnome.org/" +depends=('gtk3') +makedepends=('pkgconfig' 'intltool' 'gobject-introspection') +options=('!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('b4a0e7539a1133afca1b370818373fb8dcf29b50f12edbfaf6c1d5560977a308') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gdm/2.91_fix_external_program_directories.patch b/testing/gdm/2.91_fix_external_program_directories.patch new file mode 100644 index 000000000..912b5cdae --- /dev/null +++ b/testing/gdm/2.91_fix_external_program_directories.patch @@ -0,0 +1,48 @@ +diff -Nur gdm-2.91.91.orig/daemon/gdm-server.c gdm-2.91.91/daemon/gdm-server.c +--- gdm-2.91.91.orig/daemon/gdm-server.c 2011-02-17 19:27:53.000000000 -0800 ++++ gdm-2.91.91/daemon/gdm-server.c 2011-02-27 16:56:51.283347074 -0800 +@@ -131,7 +131,7 @@ + g_return_val_if_fail (GDM_IS_SERVER (server), NULL); + + error = NULL; +- command = g_strdup_printf (LIBEXECDIR "/ck-get-x11-display-device --display %s", ++ command = g_strdup_printf ("/usr/lib/ConsoleKit/ck-get-x11-display-device --display %s", + server->priv->display_name); + + g_debug ("GdmServer: Running helper %s", command); +diff -Nur gdm-2.91.91.orig/data/greeter-autostart/gnome-settings-daemon.desktop.in.in gdm-2.91.91/data/greeter-autostart/gnome-settings-daemon.desktop.in.in +--- gdm-2.91.91.orig/data/greeter-autostart/gnome-settings-daemon.desktop.in.in 2011-02-17 19:27:53.000000000 -0800 ++++ gdm-2.91.91/data/greeter-autostart/gnome-settings-daemon.desktop.in.in 2011-02-26 08:43:28.700009251 -0800 +@@ -1,8 +1,8 @@ + [Desktop Entry] + Type=Application + _Name=GNOME Settings Daemon +-TryExec=@LIBEXECDIR@/gnome-settings-daemon +-Exec=@LIBEXECDIR@/gnome-settings-daemon ++TryExec=/usr/bin/gnome-settings-daemon ++Exec=/usr/bin/gnome-settings-daemon + OnlyShowIn=GNOME; + X-GNOME-Autostart-Phase=Initialization + X-GNOME-Autostart-Notify=true +diff -Nur gdm-2.91.91.orig/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in gdm-2.91.91/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in +--- gdm-2.91.91.orig/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in 2011-02-17 19:27:53.000000000 -0800 ++++ gdm-2.91.91/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in 2011-02-26 08:44:06.810009153 -0800 +@@ -1,5 +1,5 @@ + [Desktop Entry] + Type=Application + _Name=PolicyKit Authentication Agent +-Exec=@LIBEXECDIR@/polkit-gnome-authentication-agent-1 ++Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + OnlyShowIn=GNOME; +diff -Nur gdm-2.91.91.orig/gui/simple-chooser/gdm-chooser-session.c gdm-2.91.91/gui/simple-chooser/gdm-chooser-session.c +--- gdm-2.91.91.orig/gui/simple-chooser/gdm-chooser-session.c 2011-02-17 19:27:53.000000000 -0800 ++++ gdm-2.91.91/gui/simple-chooser/gdm-chooser-session.c 2011-02-26 08:45:01.946675918 -0800 +@@ -131,7 +131,7 @@ + ret = FALSE; + + error = NULL; +- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error); ++ g_spawn_command_line_async ("/usr/bin/gnome-settings-daemon", &error); + if (error != NULL) { + g_warning ("Error starting settings daemon: %s", error->message); + g_error_free (error); diff --git a/testing/gdm/PKGBUILD b/testing/gdm/PKGBUILD new file mode 100644 index 000000000..a5768c9ec --- /dev/null +++ b/testing/gdm/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 124668 2011-05-23 20:39:21Z ibiru $ +# Maintainer: Jan de Groot +pkgname=gdm +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Gnome Display Manager (a reimplementation of xdm)" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org" +backup=('etc/pam.d/gdm' 'etc/pam.d/gdm-autologin' 'etc/gdm/custom.conf') +groups=('gnome-extra') +options=('!libtool') +depends=('libcanberra' 'libxklavier' 'tcp_wrappers' 'gnome-session' 'upower' 'accountsservice' 'consolekit' 'xorg-xrdb') +makedepends=('intltool' 'gnome-doc-utils' 'xorg-server') +conflicts=('fast-user-switch-applet') +replaces=('fast-user-switch-applet') +install=gdm.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + 2.91_fix_external_program_directories.patch + gdm-vt-allocation-hack.patch + gdm.pam + gdm-autologin.pam + gdm) +sha256sums=('3e0d44d551230c02a00ce27e4d98a5ebd54aac81520949076ad3111658eb2a05' + '92c5eb913b9556cffe9b5bb89e5c3435703e929addfb98145442f58af5d532c1' + '3c8b588d4af08d94dc93bcd5e4c2a983c3f4fbbbe40833bceac2a1df4f1e8215' + 'f1dfa4d88288d4b0a631a68a51b46c2da537bee8fe5a99f9f288c8ff75a50b19' + '3daff680ff6b7ea56f84f40843e46e72477c81e9e405028203c942af04d07ae5' + '272c08d8e8b50bf424d0705ac864d4c18c47ec4f6893b1af732c2efbc86c9550') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/2.91_fix_external_program_directories.patch" + patch -Np1 -i "${srcdir}/gdm-vt-allocation-hack.patch" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gdm --localstatedir=/var --disable-static \ + --with-at-spi-registryd-directory=/usr/lib/at-spi \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gdm ${pkgdir}/etc/gconf/schemas/*.schemas + rm -r "${pkgdir}/etc/gconf/schemas/" + + install -m644 "${srcdir}/gdm.pam" "${pkgdir}/etc/pam.d/gdm" + install -m644 "${srcdir}/gdm-autologin.pam" "${pkgdir}/etc/pam.d/gdm-autologin" + + install -m755 -d "${pkgdir}/etc/rc.d" + install -m755 "${srcdir}/gdm" "${pkgdir}/etc/rc.d/" + + rmdir "${pkgdir}/var/gdm" + chmod 1770 "${pkgdir}/var/log/gdm" + rm -rf "${pkgdir}/var/run" +} diff --git a/testing/gdm/gdm b/testing/gdm/gdm new file mode 100755 index 000000000..c3e635a6d --- /dev/null +++ b/testing/gdm/gdm @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting GDM" + /usr/sbin/gdm & + if [ $? -gt 0 ]; then + stat_fail + else + + add_daemon gdm + stat_done + fi + ;; + stop) + stat_busy "Stopping GDM" + [ -f /var/run/gdm.pid ] && kill `cat /var/run/gdm.pid` &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon gdm + stat_done + fi + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/testing/gdm/gdm-autologin.pam b/testing/gdm/gdm-autologin.pam new file mode 100644 index 000000000..7c2f9a985 --- /dev/null +++ b/testing/gdm/gdm-autologin.pam @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so +auth required pam_permit.so +account required pam_unix.so +password required pam_unix.so +session required pam_limits.so +session required pam_unix.so diff --git a/testing/gdm/gdm-vt-allocation-hack.patch b/testing/gdm/gdm-vt-allocation-hack.patch new file mode 100644 index 000000000..56fa5a151 --- /dev/null +++ b/testing/gdm/gdm-vt-allocation-hack.patch @@ -0,0 +1,118 @@ +diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c +index 39def47..03488fd 100644 +--- a/daemon/gdm-server.c ++++ b/daemon/gdm-server.c +@@ -33,6 +33,8 @@ + #include + #include + #include ++#include ++#include + + #include + #include +@@ -150,6 +152,92 @@ _gdm_server_query_ck_for_display_device (GdmServer *server) + return out; + } + ++#ifndef O_NOCTTY ++# define O_NOCTTY 0 ++#endif ++ ++static int ++open_vt (int vtno) ++{ ++ char *vtname; ++ int fd; ++ ++ vtname = g_strdup_printf ("/dev/tty%d", vtno); ++ ++ do { ++ errno = 0; ++ fd = open (vtname, O_RDWR | O_NOCTTY, 0); ++ } while (errno == EINTR); ++ ++ g_free (vtname); ++ return fd; ++} ++ ++static gint ++find_first_probably_free_vt (void) ++{ ++ int fd, fdv; ++ int vtno; ++ unsigned short vtmask; ++ struct vt_stat vtstat; ++ guint v_state; ++ ++ fdv = -1; ++ ++ do { ++ errno = 0; ++ fd = open ("/dev/console", O_WRONLY | O_NOCTTY, 0); ++ } while (errno == EINTR); ++ ++ if (fd >= 0) { ++ if (ioctl (fd, VT_GETSTATE, &vtstat) >= 0) { ++ v_state = vtstat.v_state; ++ } else { ++ close (fd); ++ v_state = 0; ++ fd = -1; ++ } ++ } else { ++ v_state = 0; ++ } ++ ++ if (fd < 0) { ++ do { ++ errno = 0; ++ fd = open ("/dev/console", O_RDONLY | O_NOCTTY, 0); ++ } while (errno == EINTR); ++ ++ if (fd >= 0) { ++ if (ioctl (fd, VT_GETSTATE, &vtstat) >= 0) ++ v_state = vtstat.v_state; ++ } ++ } ++ ++ for (vtno = 7, vtmask = 1 << vtno; vtmask; vtno++, vtmask <<= 1) { ++ /* Is this console in use? */ ++ if (v_state & vtmask) ++ continue; ++ ++ /* No, try to open it */ ++ fdv = open_vt (vtno); ++ if (fdv >= 0) ++ break; ++ ++ /* If we're here, kernel indicated that the console was free, ++ * but we failed to open it. Just go on to higher VTs. */ ++ } ++ ++ if (fdv >= 0) ++ close (fdv); ++ else ++ vtno = -1; ++ ++ if (fd >= 0) ++ close (fd); ++ ++ return vtno; ++} ++ + char * + gdm_server_get_display_device (GdmServer *server) + { +@@ -310,6 +398,11 @@ gdm_server_resolve_command_line (GdmServer *server, + + if (vtarg != NULL && ! gotvtarg) { + argv[len++] = g_strdup (vtarg); ++ } else if (!query_in_arglist && !gotvtarg) { ++ gint vtnum = find_first_probably_free_vt (); ++ ++ if (vtnum > 0) ++ argv [len++] = g_strdup_printf ("vt%d", vtnum); + } + + argv[len++] = NULL; diff --git a/testing/gdm/gdm.install b/testing/gdm/gdm.install new file mode 100644 index 000000000..6cd981d77 --- /dev/null +++ b/testing/gdm/gdm.install @@ -0,0 +1,27 @@ +pkgname=gdm + +post_install() { + getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm + getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm + passwd -l gdm > /dev/null + chown -R gdm:gdm /var/lib/gdm > /dev/null + + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + gconfpkg --install ${pkgname} +} + +pre_remove() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + getent passwd gdm >/dev/null 2>&1 && userdel gdm + getent group gdm >/dev/null 2>&1 && groupdel gdm +} diff --git a/testing/gdm/gdm.pam b/testing/gdm/gdm.pam new file mode 100644 index 000000000..655299cb7 --- /dev/null +++ b/testing/gdm/gdm.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so +auth required pam_unix.so +auth optional pam_gnome_keyring.so +account required pam_unix.so +session required pam_limits.so +session required pam_unix.so +session optional pam_gnome_keyring.so auto_start +password required pam_unix.so diff --git a/testing/glib-networking/PKGBUILD b/testing/glib-networking/PKGBUILD new file mode 100644 index 000000000..ca799b5ba --- /dev/null +++ b/testing/glib-networking/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 124675 2011-05-23 20:43:54Z ibiru $ +# Maintainer: Jan "heftig" Steffens +pkgname=glib-networking +pkgver=2.28.7 +pkgrel=1 +pkgdesc="Network-related giomodules for glib" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('GPL2') +depends=('glib2' 'libproxy' 'gnutls' 'ca-certificates' 'gsettings-desktop-schemas') +makedepends=('intltool') +options=('!libtool') +install=glib-networking.install +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.bz2) +sha256sums=('98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure \ + --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/glib-networking --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/glib-networking/glib-networking.install b/testing/glib-networking/glib-networking.install new file mode 100644 index 000000000..595f1c75b --- /dev/null +++ b/testing/glib-networking/glib-networking.install @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gio-querymodules usr/lib/gio/modules +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/gnome-games/PKGBUILD b/testing/gnome-games/PKGBUILD new file mode 100644 index 000000000..853bcfe8a --- /dev/null +++ b/testing/gnome-games/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 124637 2011-05-23 17:10:50Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=gnome-games +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Some Games for GNOME" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libsm' 'gconf' 'guile' 'desktop-file-utils' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'seed' 'pygobject') +makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection') +provides=('glchess') +conflicts=('glchess') +options=('!emptydirs' '!libtool') +install=gnome-games.install +url="http://www.gnome.org" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('1b731d691806d89d411a6bfaaca05a441555adee2760b97bb80fb5ded8326cb1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper \ + --disable-static \ + --with-scores-user=root --with-scores-group=games \ + --enable-introspection=yes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + # Remove all scores, we generate them from postinstall + rm -rf "${pkgdir}/var" + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + + sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' ${pkgdir}/usr/bin/gnome-sudoku +} diff --git a/testing/gnome-games/gnome-games.install b/testing/gnome-games/gnome-games.install new file mode 100644 index 000000000..1f67c2e01 --- /dev/null +++ b/testing/gnome-games/gnome-games.install @@ -0,0 +1,153 @@ +pkgname=gnome-games +scores=(glines.Large.scores + glines.Medium.scores + glines.Small.scores + gnibbles.1.0.scores + gnibbles.1.1.scores + gnibbles.2.0.scores + gnibbles.2.1.scores + gnibbles.3.0.scores + gnibbles.3.1.scores + gnibbles.4.0.scores + gnibbles.4.1.scores + gnobots2.classic_robots-safe.scores + gnobots2.classic_robots-super-safe.scores + gnobots2.classic_robots.scores + gnobots2.nightmare-safe.scores + gnobots2.nightmare-super-safe.scores + gnobots2.nightmare.scores + gnobots2.robots2-safe.scores + gnobots2.robots2-super-safe.scores + gnobots2.robots2.scores + gnobots2.robots2_easy-safe.scores + gnobots2.robots2_easy-super-safe.scores + gnobots2.robots2_easy.scores + gnobots2.robots_with_safe_teleport-safe.scores + gnobots2.robots_with_safe_teleport-super-safe.scores + gnobots2.robots_with_safe_teleport.scores + gnomine.Custom.scores + gnomine.Large.scores + gnomine.Medium.scores + gnomine.Small.scores + gnotravex.2x2.scores + gnotravex.3x3.scores + gnotravex.4x4.scores + gnotravex.5x5.scores + gnotravex.6x6.scores + gnotski.1.scores + gnotski.10.scores + gnotski.11.scores + gnotski.12.scores + gnotski.13.scores + gnotski.14.scores + gnotski.15.scores + gnotski.16.scores + gnotski.17.scores + gnotski.18.scores + gnotski.19.scores + gnotski.2.scores + gnotski.20.scores + gnotski.21.scores + gnotski.22.scores + gnotski.23.scores + gnotski.24.scores + gnotski.25.scores + gnotski.26.scores + gnotski.27.scores + gnotski.28.scores + gnotski.29.scores + gnotski.3.scores + gnotski.30.scores + gnotski.31.scores + gnotski.32.scores + gnotski.33.scores + gnotski.34.scores + gnotski.35.scores + gnotski.36.scores + gnotski.37.scores + gnotski.4.scores + gnotski.5.scores + gnotski.6.scores + gnotski.7.scores + gnotski.8.scores + gnotski.9.scores + gtali.Colors.scores + gtali.Regular.scores + mahjongg.bridges.scores + mahjongg.cloud.scores + mahjongg.confounding.scores + mahjongg.difficult.scores + mahjongg.dragon.scores + mahjongg.easy.scores + mahjongg.pyramid.scores + mahjongg.tictactoe.scores + mahjongg.ziggurat.scores + swell-foop.Large.scores + swell-foop.Medium.scores + swell-foop.Small.scores + quadrapassel.scores) + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + for sz in Large Medium Small; do + if [ -e "opt/gnome/var/games/same-gnome.${sz}.scores" ]; then + mv "opt/gnome/var/games/same-gnome.${sz}.scores" \ + "var/games/swell-foop.${sz}.scores" + elif [ -e "var/games/same-gnome.${sz}.scores" ]; then + mv "var/games/same-gnome.${sz}.scores" \ + "var/games/swell-foop.${sz}.scores" + fi + done + if [ -e "opt/gnome/var/games/gnometris.scores" ]; then + mv "opt/gnome/var/games/gnometris.scores" \ + "var/games/quadrapassel.scores" + elif [ -e "var/games/gnometris.scores" ]; then + mv "var/games/gnometris.scores" \ + "var/games/quadrapassel.scores" + fi + + for score in "${scores[@]}" ; do + if [ -e "var/games/${score}" ]; then + continue + fi + if [ -e "opt/gnome/var/games/${score}" ]; then + mv "opt/gnome/var/games/${score}" var/games/ + else + touch "var/games/${score}" + fi + chown root:games "var/games/${score}" + chmod 664 "var/games/${score}" + done +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} + + if [ -f usr/share/ggz/gnect-client.dsc ]; then + ggz-config -r -m usr/share/ggz/gnect-client.dsc >& /dev/null + ggz-config -r -m usr/share/ggz/gnibbles-client.dsc >& /dev/null + ggz-config -r -m usr/share/ggz/iagno-client.dsc >& /dev/null + fi +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -f -t usr/share/icons/hicolor + + for score in "${scores[@]}" ; do + rm -f "var/games/${score}" + done +} diff --git a/testing/gnome-power-manager/PKGBUILD b/testing/gnome-power-manager/PKGBUILD new file mode 100644 index 000000000..e731c944b --- /dev/null +++ b/testing/gnome-power-manager/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 124602 2011-05-23 10:33:56Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=gnome-power-manager +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system." +arch=(i686 x86_64) +url="http://www.gnome.org/projects/gnome-power-manager/" +license=('GPL') +depends=('libnotify' 'gconf' 'libcanberra' 'gnome-icon-theme' 'upower' + 'libgnome-keyring' 'dconf') +makedepends=('intltool' 'gnome-doc-utils' 'gnome-control-center') +options=(!emptydirs) +install=gnome-power-manager.install +groups=(gnome) +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('d0e00fdcfbc3bfb709f9ed82a14de325c51cf0bb86eeacefcda2dd7fcf6cbc2b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib/gnome-power-manager \ + --disable-scrollkeeper \ + --with-dbus-services=/usr/share/dbus-1/services \ + --disable-schemas-compile + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gnome-power-manager/gnome-power-manager.install b/testing/gnome-power-manager/gnome-power-manager.install new file mode 100644 index 000000000..4666938db --- /dev/null +++ b/testing/gnome-power-manager/gnome-power-manager.install @@ -0,0 +1,19 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f usr/share/icons/gnome +} + +pre_upgrade() { + if (( $(vercmp $2 2.91.92) < 0 )); then + usr/sbin/gconfpkg --uninstall gnome-power-manager + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/gnome-settings-daemon/PKGBUILD b/testing/gnome-settings-daemon/PKGBUILD new file mode 100644 index 000000000..25433294c --- /dev/null +++ b/testing/gnome-settings-daemon/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 124605 2011-05-23 10:48:57Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=gnome-settings-daemon +pkgver=3.0.2 +pkgrel=1 +pkgdesc="The GNOME Settings daemon" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libgnomekbd' 'gnome-desktop' 'libnotify' 'hicolor-icon-theme' + 'libcanberra-pulse' 'gsettings-desktop-schemas' 'nss' 'gconf' + 'dconf' 'pulseaudio' 'pulseaudio-alsa') +makedepends=('intltool' 'gtk-doc') +options=('!emptydirs' '!libtool') +install=gnome-settings-daemon.install +url="http://www.gnome.org" +groups=('gnome') +replaces=(gnome-settings-daemon-pulse) +conflicts=(gnome-settings-daemon-pulse) +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('f304aa54c59ab23f7ef55bfeefeecfd6f7a95cabbeed2ea802c94463d4234eec') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/bin --disable-static --enable-pulse + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gnome-settings-daemon/gnome-settings-daemon.install b/testing/gnome-settings-daemon/gnome-settings-daemon.install new file mode 100644 index 000000000..483fb9450 --- /dev/null +++ b/testing/gnome-settings-daemon/gnome-settings-daemon.install @@ -0,0 +1,18 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall gnome-settings-daemon + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/gnome-themes-standard/PKGBUILD b/testing/gnome-themes-standard/PKGBUILD new file mode 100644 index 000000000..12b8c7d90 --- /dev/null +++ b/testing/gnome-themes-standard/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 124628 2011-05-23 14:48:53Z ibiru $ +# Maintainer: Jan "heftig" Steffens +pkgname=gnome-themes-standard +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Default themes for the GNOME desktop" +arch=('i686' 'x86_64') +url="http://abattis.org/cantarell/" +license=('GPL2') +depends=('cantarell-fonts' 'gtk3' 'gtk-engines') +makedepends=('intltool') +groups=('gnome') +replaces=('gnome-themes') +conflicts=('gnome-themes') +source=(http://download.gnome.org/sources/$pkgname/3.0/$pkgname-${pkgver}.tar.bz2) +sha256sums=('1def884063aa441860e20dd9925bb7c3b6f917bae44f77b1ada999940c463809') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/gtk3/PKGBUILD b/testing/gtk3/PKGBUILD new file mode 100644 index 000000000..0daea5d15 --- /dev/null +++ b/testing/gtk3/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 124599 2011-05-23 09:25:48Z ibiru $ +# Maintainer: Ionut Biru + +pkgname=gtk3 +pkgver=3.0.10 +pkgrel=1 +pkgdesc="The GTK+ Toolkit (v3)" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +install=gtk3.install +depends=('atk' 'cairo' 'gtk-update-icon-cache' 'gnutls' 'krb5' 'libcups' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'pango' 'shared-mime-info') +makedepends=('gobject-introspection') +options=('!libtool' '!docs') +backup=(etc/gtk-3.0/settings.ini) +license=('LGPL') +source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/3.0/gtk+-${pkgver}.tar.bz2 + settings.ini) +sha256sums=('a217ed31aed9843810eabb241239e0f2c5ca0e14bd91687cf4180b3e346abc30' + 'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621') + +build() { + cd "${srcdir}/gtk+-${pkgver}" + CXX=/bin/false ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-gtk2-dependency \ + --disable-schemas-compile + make +} + +package() { + cd "${srcdir}/gtk+-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}/settings.ini" "${pkgdir}/etc/gtk-3.0/settings.ini" +} diff --git a/testing/gtk3/gtk3.install b/testing/gtk3/gtk3.install new file mode 100644 index 000000000..cd8965d1f --- /dev/null +++ b/testing/gtk3/gtk3.install @@ -0,0 +1,15 @@ +post_install() { + usr/bin/gtk-query-immodules-3.0 --update-cache + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache +} +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} diff --git a/testing/gtk3/settings.ini b/testing/gtk3/settings.ini new file mode 100644 index 000000000..039000d38 --- /dev/null +++ b/testing/gtk3/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-fallback-icon-theme = gnome diff --git a/testing/gvfs/PKGBUILD b/testing/gvfs/PKGBUILD new file mode 100644 index 000000000..7169a5364 --- /dev/null +++ b/testing/gvfs/PKGBUILD @@ -0,0 +1,101 @@ +# $Id: PKGBUILD 124634 2011-05-23 15:36:42Z ibiru $ +# Maintainer: Jan de Groot + +pkgbase=gvfs +pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-gphoto2' 'gvfs-obexftp') +pkgver=1.8.2 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('libsoup-gnome' 'libcdio' 'fuse' 'bluez' 'smbclient' 'libgphoto2' + 'libarchive' 'gnome-disk-utility' 'pkgconfig' 'intltool' + 'libimobiledevice') +url="http://www.gnome.org" +options=(!libtool) +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.bz2) +sha256sums=('0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --libexecdir=/usr/lib/gvfs \ + --with-bash-completion-dir=/etc/bash_completion.d + make +} + +package_gvfs() { + pkgdesc="Userspace virtual filesystem implemented as a pluggable module for gio" + depends=('libsoup-gnome' 'gnome-disk-utility' 'libcdio' 'fuse' 'libarchive') + optdepends=('gvfs-afc: AFC (mobile devices) support' + 'gvfs-smb: SMB/CIFS (Windows client) support' + 'gvfs-gphoto2: gphoto2 (PTP camera/MTP media player) support' + 'gvfs-obexftp: ObexFTP (bluetooth) support') + install=gvfs.install + + cd "${srcdir}/${pkgbase}-${pkgver}" + sed -e 's/^am__append_3/#am__append_3/' \ + -e 's/^am__append_4/#am__append_4/' \ + -i monitor/Makefile + make DESTDIR="${pkgdir}" install + + cd "${pkgdir}" + rm usr/lib/gvfs/gvfsd-{smb,smb-browse,afc,gphoto2,obexftp} + rm usr/share/gvfs/mounts/{smb,smb-browse,afc,gphoto2,obexftp}.mount + rm usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml + rm usr/share/GConf/gsettings/gvfs-smb.convert +} + +package_gvfs-smb() { + pkgdesc="SMB/CIFS (Windows client) backend for gvfs" + depends=("gvfs=${pkgver}" 'smbclient' 'libgnome-keyring') + install=gvfs-smb.install + + cd "${srcdir}/${pkgbase}-${pkgver}/daemon" + install -m755 -d "${pkgdir}/usr/lib/gvfs" + install -m755 -d "${pkgdir}/usr/share/gvfs/mounts" + + install -m755 .libs/gvfsd-smb{,-browse} "${pkgdir}/usr/lib/gvfs/" + install -m644 smb{,-browse}.mount "${pkgdir}/usr/share/gvfs/mounts/" + + install -Dm644 org.gnome.system.smb.gschema.xml \ + "${pkgdir}/usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml" + install -Dm644 gvfs-smb.convert \ + "${pkgdir}/usr/share/GConf/gsettings/gvfs-smb.convert" +} + +package_gvfs-afc() { + pkgdesc="AFC (mobile devices) backend for gvfs" + depends=("gvfs=${pkgver}" 'libimobiledevice') + install=gvfs-module.install + + cd "${srcdir}/${pkgbase}-${pkgver}/daemon" + install -D .libs/gvfsd-afc "${pkgdir}/usr/lib/gvfs/gvfsd-afc" + install -Dm644 afc.mount "${pkgdir}/usr/share/gvfs/mounts/afc.mount" + + cd "${srcdir}/${pkgbase}-${pkgver}/monitor/afc" + make DESTDIR="${pkgdir}" install +} + +package_gvfs-gphoto2() { + pkgdesc="gphoto2 (PTP camera/MTP media player) backend for gvfs" + depends=("gvfs=${pkgver}" 'dbus-core' 'libgphoto2' 'udev') + install=gvfs-module.install + + cd "${srcdir}/${pkgbase}-${pkgver}/daemon" + install -D .libs/gvfsd-gphoto2 "${pkgdir}/usr/lib/gvfs/gvfsd-gphoto2" + install -Dm644 gphoto2.mount "${pkgdir}/usr/share/gvfs/mounts/gphoto2.mount" + + cd "${srcdir}/${pkgbase}-${pkgver}/monitor/gphoto2" + make DESTDIR="${pkgdir}" install +} + +package_gvfs-obexftp() { + pkgdesc="ObexFTP (bluetooth) backend for gvfs" + depends=("gvfs=${pkgver}" 'dbus-glib' 'bluez' 'obex-data-server') + install=gvfs-module.install + + cd "${srcdir}/${pkgbase}-${pkgver}/daemon" + install -D .libs/gvfsd-obexftp "${pkgdir}/usr/lib/gvfs/gvfsd-obexftp" + install -Dm644 obexftp.mount "${pkgdir}/usr/share/gvfs/mounts/obexftp.mount" +} diff --git a/testing/gvfs/gvfs-module.install b/testing/gvfs/gvfs-module.install new file mode 100644 index 000000000..09d1f11ec --- /dev/null +++ b/testing/gvfs/gvfs-module.install @@ -0,0 +1,7 @@ +post_install() { + killall -USR1 gvfsd >&/dev/null || : +} + +post_upgrade() { + post_install +} diff --git a/testing/gvfs/gvfs-smb.install b/testing/gvfs/gvfs-smb.install new file mode 100644 index 000000000..0b8783c7b --- /dev/null +++ b/testing/gvfs/gvfs-smb.install @@ -0,0 +1,12 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + killall -USR1 gvfsd >&/dev/null || : +} + +post_upgrade() { + post_install +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} diff --git a/testing/gvfs/gvfs.install b/testing/gvfs/gvfs.install new file mode 100644 index 000000000..9458b1513 --- /dev/null +++ b/testing/gvfs/gvfs.install @@ -0,0 +1,14 @@ +post_install() { + usr/bin/gio-querymodules usr/lib/gio/modules + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + killall -USR1 gvfsd >&/dev/null || : +} + +post_upgrade() { + post_install +} + +post_remove() { + usr/bin/gio-querymodules usr/lib/gio/modules + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} diff --git a/testing/libsoup/PKGBUILD b/testing/libsoup/PKGBUILD new file mode 100644 index 000000000..7c2aa02ae --- /dev/null +++ b/testing/libsoup/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 124678 2011-05-23 20:49:40Z ibiru $ +# Maintainer: Jan de Groot + +pkgbase=libsoup +pkgname=('libsoup' 'libsoup-gnome') +pkgver=2.34.2 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('glib2' 'libxml2' 'sqlite3' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.bz2) +options=('!libtool' '!emptydirs') +sha256sums=('1d70edc48c309528635012269733739f9cd22548913125864318a65d1b6f1261') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package_libsoup() { + pkgdesc="GNOME HTTP Library - base library" + depends=('glib2' 'libxml2' 'glib-networking') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}"/usr/lib/libsoup-gnome-2.4.* + rm -f "${pkgdir}/usr/lib/pkgconfig/libsoup-gnome-2.4.pc" + rm -rf "${pkgdir}/usr/include/libsoup-gnome-2.4" + rm -f "${pkgdir}/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib" +} + +package_libsoup-gnome() { + pkgdesc="GNOME HTTP Library - GNOME libraries" + depends=("libsoup=${pkgver}" 'libgnome-keyring') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}"/usr/lib/libsoup-2.4.* + rm -f "${pkgdir}/usr/lib/pkgconfig/libsoup-2.4.pc" + rm -rf "${pkgdir}/usr/include/libsoup-2.4" + rm -rf "${pkgdir}/usr/share" + rm -f "${pkgdir}/usr/lib/girepository-1.0/Soup-2.4.typelib" +} -- cgit v1.2.3-54-g00ecf