summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-04 12:13:12 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-04 12:13:12 -0300
commit2d71292ee6ddd4970f593975fd652be1d820f92c (patch)
tree82377d0e84fc4a0a04066d4733dae49484a5225a /community
parentd734cc3a77cdc6960cbd72f3f8c680612342f24d (diff)
parent067b127a853780b2b4ae7236dcdaaf72396dfa86 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: libre/icecat/PKGBUILD multilib/lib32-v4l-utils/PKGBUILD multilib/nspluginwrapper/PKGBUILD testing/libreoffice/PKGBUILD
Diffstat (limited to 'community')
-rw-r--r--community/autofs/PKGBUILD15
-rw-r--r--community/calibre/PKGBUILD6
-rw-r--r--community/courier-mta/PKGBUILD9
-rw-r--r--community/courier-mta/courier-mta.install2
-rw-r--r--community/courier-mta/courier.rc.d45
-rw-r--r--community/cppcheck/PKGBUILD6
-rw-r--r--community/fotoxx/PKGBUILD4
-rw-r--r--community/intellij-idea-libs/PKGBUILD8
-rw-r--r--community/liblockfile/PKGBUILD33
-rw-r--r--community/lockfile-progs/PKGBUILD28
-rw-r--r--community/mlt/PKGBUILD9
-rw-r--r--community/mongodb/PKGBUILD9
-rw-r--r--community/mongodb/mongodb.conf4
-rwxr-xr-xcommunity/mongodb/mongodb.install19
-rwxr-xr-xcommunity/mongodb/mongodb.rc2
-rw-r--r--community/mtasc/PKGBUILD29
-rw-r--r--community/nodejs/PKGBUILD58
-rw-r--r--community/pcsc-perl/PKGBUILD4
-rw-r--r--community/perl-device-serialport/PKGBUILD4
-rw-r--r--community/perl-perlio-eol/PKGBUILD23
-rw-r--r--community/python2-basemap/PKGBUILD8
-rw-r--r--community/root/PKGBUILD27
22 files changed, 272 insertions, 80 deletions
diff --git a/community/autofs/PKGBUILD b/community/autofs/PKGBUILD
index 743fde93c..c52c281cc 100644
--- a/community/autofs/PKGBUILD
+++ b/community/autofs/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 47057 2011-05-15 17:16:45Z lfleischer $
+# $Id: PKGBUILD 50871 2011-07-02 10:03:49Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=autofs
-pkgver=5.0.5
-pkgrel=7
+pkgver=5.0.6
+pkgrel=1
pkgdesc='A kernel-based automounter for Linux.'
arch=('i686' 'x86_64' 'mips64el')
url='http://freshmeat.net/projects/autofs'
@@ -18,15 +18,11 @@ backup=('etc/autofs/auto.master'
options=(!makeflags)
install='autofs.install'
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
- "0001-${pkgname}-5.0.5-include-krb5-library.patch"
- "0002-${pkgname}-5.0.5-remove-ERR_remove_state-openssl-call.patch"
'autofs'
'autofs.conf.d'
'auto.master'
'auto.misc')
-md5sums=('a1d262cb6ebef0c2dd0fe22232fb3d5a'
- '478737b8e3e79365a0e183aa95aab307'
- 'e347999e5dffe142e7e57b067d3d9e9f'
+md5sums=('44cea7f711e2290a0b50fddeda079705'
'e307bf6d2638e46eeb916cf42fe029b2'
'47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
@@ -38,9 +34,6 @@ build() {
sed -i "s:SUBDIRS = lib daemon modules man samples:SUBDIRS = lib daemon modules man:" \
Makefile.rules
- patch -p1 -i "../0001-${pkgname}-5.0.5-include-krb5-library.patch"
- patch -p1 -i "../0002-${pkgname}-5.0.5-remove-ERR_remove_state-openssl-call.patch"
-
./configure --prefix=/usr --sysconfdir=/etc/autofs --with-mapdir=/etc/autofs --without-hesiod \
--enable-ignore-busy
make
diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD
index 49bc53644..501d17bba 100644
--- a/community/calibre/PKGBUILD
+++ b/community/calibre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 50108 2011-06-24 19:28:04Z giovanni $
+# $Id: PKGBUILD 50866 2011-07-02 09:42:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
pkgname=calibre
-pkgver=0.8.7
+pkgver=0.8.8
pkgrel=1
pkgdesc="Ebook management application"
arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@ optdepends=('ipython: to use calibre-debug')
install=calibre.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
desktop_integration.patch)
-md5sums=('d7132ec75f5e742e04e196fc8e2c0884'
+md5sums=('dab191175d370920b366bcd8c0dad917'
'253ce4fe5d01f8ff76b63cd3825755ea')
build() {
diff --git a/community/courier-mta/PKGBUILD b/community/courier-mta/PKGBUILD
index 51abeb437..6920b21fd 100644
--- a/community/courier-mta/PKGBUILD
+++ b/community/courier-mta/PKGBUILD
@@ -8,8 +8,8 @@
pkgname=courier-mta
-pkgver=0.66.1
-pkgrel=4
+pkgver=0.66.3
+pkgrel=1
pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig"
arch=(i686 x86_64 'mips64el')
license=('GPL2')
@@ -30,6 +30,7 @@ conflicts=('courier-imap' 'smtp-forwarder' 'smtp-server' 'imap-server' 'courier-
options=('!libtool')
install=courier-mta.install
source=(http://downloads.sourceforge.net/project/courier/courier/${pkgver}/courier-${pkgver}.tar.bz2
+ courier.rc.d
courier-mta.rc.d
courier-mta.conf.d
esmtpd.rc.d
@@ -39,7 +40,8 @@ source=(http://downloads.sourceforge.net/project/courier/courier/${pkgver}/couri
pop3d.rc.d
pop3d-ssl.rc.d
webmaild.rc.d)
-md5sums=('79250d71d88ba2bcb630b7356f0250cd'
+md5sums=('3b28f14afe3db09b74b4845323c3e982'
+ 'bc2bdbc2f5c95cee8304f98a3b3a4895'
'e140f320968e57cfe459cd7a3b4017e0'
'f3ff70b40c7a1f7a017e8c4cc4d92f4f'
'799ddd56ff6c9cff132e8c771dde23d9'
@@ -115,6 +117,7 @@ package() {
# arch specific scripts
install -Dm 644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/courier-mta
install -Dm 755 ${srcdir}/${pkgname}.rc.d ${pkgdir}/etc/rc.d/courier-mta
+ install -D -m 755 ${srcdir}/courier.rc.d ${pkgdir}/etc/rc.d/courier
install -D -m 755 ${srcdir}/imapd.rc.d ${pkgdir}/etc/rc.d/imapd
install -D -m 755 ${srcdir}/imapd-ssl.rc.d ${pkgdir}/etc/rc.d/imapd-ssl
install -D -m 755 ${srcdir}/pop3d.rc.d ${pkgdir}/etc/rc.d/pop3d
diff --git a/community/courier-mta/courier-mta.install b/community/courier-mta/courier-mta.install
index 64de4da6b..e835e3efd 100644
--- a/community/courier-mta/courier-mta.install
+++ b/community/courier-mta/courier-mta.install
@@ -27,7 +27,7 @@ post_upgrade() {
echo "Example prior to this change:"
echo " DAEMONS=( ... courier-mta ...)"
echo "Example after this change:"
- echo " DAEMONS=( ... authdaemond esmtpd esmtpd-ssl imapd imapd-ssl"
+ echo " DAEMONS=( ... authdaemond courier esmtpd esmtpd-ssl imapd imapd-ssl"
echo " pop3d pop3d-ssl webmaild ... )"
echo "This allows better control over the daemons and will generate"
echo "correct entries in /run/daemons"
diff --git a/community/courier-mta/courier.rc.d b/community/courier-mta/courier.rc.d
new file mode 100644
index 000000000..7c321d452
--- /dev/null
+++ b/community/courier-mta/courier.rc.d
@@ -0,0 +1,45 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+
+ [ -d /var/run/courier ] || mkdir -p /var/run/courier
+ chown courier:courier /var/run/courier
+
+ if [ ! -f /var/run/daemons/authdaemond ]; then
+ echo "ERROR: authdaemond is not running"
+ stat_fail
+ exit 1
+ fi
+
+ stat_busy "Starting Courier daemon"
+ /usr/sbin/courier start
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon courier
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Courier daemon"
+ /usr/sbin/courier stop > /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon courier
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 1e8718b8b..f98fa3be3 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 45163 2011-04-18 02:26:25Z stephane $
+# $Id: PKGBUILD 50806 2011-07-01 15:04:30Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.48
+pkgver=1.49
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64' 'mips64el')
@@ -9,7 +9,7 @@ url="http://cppcheck.wiki.sourceforge.net/"
license=('GPL')
depends=('pcre')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('10cf38034148b7cb258840febe620ba397114fd1')
+sha1sums=('d04c1b207aca59f845aac57de3b08f44168d5aa9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD
index b3106e020..e0737fc43 100644
--- a/community/fotoxx/PKGBUILD
+++ b/community/fotoxx/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fotoxx
-pkgver=11.06.2
+pkgver=11.07
pkgrel=1
pkgdesc="A program for improving image files made with a digital camera"
url="http://kornelix.squarespace.com/fotoxx"
@@ -9,7 +9,7 @@ license=('GPL3')
depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-utils')
optdepends=('mashup: for composing pages to print from within fotoxx' 'brasero: for burning')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('03fac30ee3239f379d5a9fcdc8ba3933')
+md5sums=('cf7ce6011108da211b0169df6686ae95')
install=fotoxx.install
build() {
diff --git a/community/intellij-idea-libs/PKGBUILD b/community/intellij-idea-libs/PKGBUILD
index 5d18ef625..247a48b09 100644
--- a/community/intellij-idea-libs/PKGBUILD
+++ b/community/intellij-idea-libs/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 47243 2011-05-19 13:26:51Z stativ $
+# $Id: PKGBUILD 50795 2011-07-01 12:20:10Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=intellij-idea-libs
-pkgver=10.5
-_pkgver=107.105
+pkgver=10.5.1
+_pkgver=107.322
pkgrel=1
pkgdesc="Architecture dependend libraries needed by the Intellij Idea IDE"
arch=('i686' 'x86_64' 'mips64el')
@@ -10,7 +10,7 @@ url="http://www.jetbrains.org/"
license=('apache')
depends=('glibc')
source=(http://download.jetbrains.com/idea/ideaIC-$pkgver.tar.gz)
-md5sums=('365d1a5ee9255175065c764d634b3698')
+md5sums=('f90ce6b7a2b8d2191156dd111fe6a63d')
build() {
cd "$srcdir"
diff --git a/community/liblockfile/PKGBUILD b/community/liblockfile/PKGBUILD
new file mode 100644
index 000000000..730fce864
--- /dev/null
+++ b/community/liblockfile/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 50818 2011-07-01 16:29:42Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
+
+pkgname=liblockfile
+pkgver=1.08_4
+_basever=1.08
+pkgrel=1
+pkgdesc="a library with NFS-safe locking functions"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/unstable/libs/liblockfile1"
+depends=('glibc')
+makedepends=()
+source=(http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${_basever}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${pkgver/_/-}.debian.tar.bz2)
+md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e'
+ '50c0c049d2838704f5720f5fd9eaddac')
+
+build() {
+ cd $srcdir/$pkgname-${_basever}
+ for p in `cat ../debian/patches/series` ; do
+ patch -p1 < ../debian/patches/$p
+ done
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-${_basever}
+ mkdir -p $pkgdir/usr/{lib,bin,include,share/man/man1,share/man/man3}
+ make install prefix=$pkgdir/usr mandir=$startdir/pkg/usr/share/man
+}
diff --git a/community/lockfile-progs/PKGBUILD b/community/lockfile-progs/PKGBUILD
new file mode 100644
index 000000000..b49a8f50e
--- /dev/null
+++ b/community/lockfile-progs/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 50822 2011-07-01 16:45:18Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
+
+pkgname=lockfile-progs
+pkgver=0.1.15
+pkgrel=1
+pkgdesc="programs for locking and unlocking files and mailboxes"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/unstable/misc/lockfile-progs"
+depends=('glibc')
+makedepends=('gcc' 'make' 'liblockfile')
+source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)
+md5sums=('abfcda83a1868073673f4d78066b8f8a')
+
+build() {
+ cd $srcdir/sid
+ make CFLAGS="-g -Wall -O2"
+}
+
+package() {
+ cd $srcdir/sid
+ mkdir -p $pkgdir/usr/bin
+ install -s bin/* $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/man/man1
+ install man/*.1 $pkgdir/usr/share/man/man1
+}
diff --git a/community/mlt/PKGBUILD b/community/mlt/PKGBUILD
index 60bf50bc8..f710731ae 100644
--- a/community/mlt/PKGBUILD
+++ b/community/mlt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 46148 2011-05-04 08:34:19Z spupykin $
+# $Id: PKGBUILD 50803 2011-07-01 12:47:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
# Contributor: funkyou <spamopfer@nickname.berlin.de>
@@ -8,7 +8,7 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.7.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.mltframework.org"
@@ -21,7 +21,10 @@ md5sums=('3adeace6642a5ee0db0715b6bd7b7a52')
build() {
# mlt
cd $srcdir/mlt-$pkgver
- [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
+
+# [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
+ SSE2=--disable-sse2
+
msg "SSE2=$SSE2"
./configure --prefix=/usr --enable-gpl \
--qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/Qt \
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index fe2cac7f9..50a62916a 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mongodb
pkgver=1.8.2
-pkgrel=1
+pkgrel=2
pkgdesc='A high-performance, open source, schema-free document-oriented database.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.mongodb.org'
@@ -18,8 +18,8 @@ source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz"
'mongodb.rc'
'mongodb.conf')
md5sums=('951fb1a75d90fc822cf4528585a970cf'
- '859f8f9bb32ef2bd21fec55ae9a87d0a'
- '9e0ea3f96732bb7811f0b64dace56440')
+ '85eaa28e349fdc6250f883624e624cca'
+ '4839fe1d638187ca3226e8267b947318')
build() {
export SCONSFLAGS="$MAKEFLAGS"
@@ -43,7 +43,8 @@ package() {
${pkgdir}/etc/rc.d/mongodb
install -D -m644 ${srcdir}/mongodb.conf \
${pkgdir}/etc/mongodb.conf
- install -d -m700 ${pkgdir}/var/state/mongodb
+ install -d -m700 ${pkgdir}/var/lib/mongodb
+ install -d -m755 ${pkgdir}/var/log/mongodb
if [ -d ${pkgdir}/usr/lib64 ]; then
mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib
diff --git a/community/mongodb/mongodb.conf b/community/mongodb/mongodb.conf
index 60d73eae8..c5272b7f2 100644
--- a/community/mongodb/mongodb.conf
+++ b/community/mongodb/mongodb.conf
@@ -3,4 +3,6 @@
bind_ip = 127.0.0.1
quiet = true
-dbpath = /var/state/mongodb
+dbpath = /var/lib/mongodb
+logpath = /var/log/mongodb/mongod.log
+logappend = true
diff --git a/community/mongodb/mongodb.install b/community/mongodb/mongodb.install
index 152f36515..9e13a4d14 100755
--- a/community/mongodb/mongodb.install
+++ b/community/mongodb/mongodb.install
@@ -4,28 +4,25 @@ show_msg(){
if [ "$(arch)" != "x86_64" ]
then
cat <<END
-###########################################################################
-# Warning: the 32 bit version of MongoDB is limited to about 2GB of data. #
-# See http://blog.mongodb.org/post/137788967/32-bit-limitations #
-###########################################################################
+==> Warning: the 32 bit version of MongoDB is limited to about 2GB of data.
+==> See http://blog.mongodb.org/post/137788967/32-bit-limitations
END
fi
}
post_install() {
- useradd -r -g daemon -d /var/state/mongodb -s /bin/false mongodb
- chown -R mongodb:daemon /var/state/mongodb
+ useradd -r -g daemon -d /var/lib/mongodb -s /bin/bash mongodb
+ chown -R mongodb:daemon /var/lib/mongodb
+ chown -R mongodb:daemon /var/log/mongodb
show_msg
}
post_upgrade() {
- chown -R mongodb:daemon /var/state/mongodb
-
- show_msg
+ chown -R mongodb:daemon /var/lib/mongodb
+ chown -R mongodb:daemon /var/log/mongodb
}
pre_remove() {
- /etc/rc.d/mongodb stop
- userdel mongodb
+ userdel mongodb
}
diff --git a/community/mongodb/mongodb.rc b/community/mongodb/mongodb.rc
index b808a2fb0..517258f63 100755
--- a/community/mongodb/mongodb.rc
+++ b/community/mongodb/mongodb.rc
@@ -8,7 +8,7 @@ PID=`pidof /usr/bin/mongod`
case "$1" in
start)
stat_busy "Starting mongodb"
- [ -z "$PID" ] && /bin/su mongodb -s /bin/bash -c "/usr/bin/mongod --config /etc/mongodb.conf &" > /var/log/mongod 2>&1
+ [ -z "$PID" ] && /bin/su mongodb -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
diff --git a/community/mtasc/PKGBUILD b/community/mtasc/PKGBUILD
index 1a0e64ae8..6fb8014a6 100644
--- a/community/mtasc/PKGBUILD
+++ b/community/mtasc/PKGBUILD
@@ -1,31 +1,30 @@
+# $Id: PKGBUILD 50789 2011-07-01 09:55:48Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Niel Drummond <niel.drummond@grumpytoad.org>
pkgname=mtasc
pkgver=20091229
-pkgrel=1
+pkgrel=2
pkgdesc="An open source flash (swf) compiler"
arch=(i686 x86_64 'mips64el')
url="http://mtasc.org/"
license=('GPL2')
depends=('zlib')
makedepends=('ocaml' 'cvs')
-source=(http://www.mtasc.org/doc/mtasc/install.ml)
-md5sums=('d072094a9c3ec4384ce232d4b65dab40')
+source=("http://arch.p5n.pp.ru/~sergej/dl/mtasc-$pkgver.tar.gz")
+md5sums=('eb686e4fcaa066dfa77d29b2d4551aab')
build() {
- cd $startdir/src
- sed -i 's/anonymous@/anonymous:@/' $startdir/src/install.ml
-
- msg "Running ocaml script..."
- cd $startdir/src
- ocaml $startdir/src/install.ml || return 1
-
- msg "Done compiling..."
-
- install -D -m755 $startdir/src/bin/${pkgname} $startdir/pkg/usr/bin/${pkgname} || return 1
+ cd $srcdir/mtasc-$pkgver
+ sed -i 's|let base_path = normalize_path (try Extc.executable_path() with _ -> ".") in|let base_path = "/usr/share/mtasc/" in|' ocaml/mtasc/main.ml
+ (cd ocaml/extc && make)
+ ocaml install.ml
+}
+package() {
+ cd $srcdir/mtasc-$pkgver
+ install -D -m755 $srcdir/mtasc-$pkgver/bin/${pkgname} $pkgdir/usr/bin/${pkgname}
for f in $( cd ocaml/mtasc/ && find ./{std,std8} -type f -iname '*.as' | grep -iv cvs ); do
- install -D -m644 ocaml/mtasc/$f ../pkg/usr/share/mtasc/$f || return 1
+ install -D -m644 ocaml/mtasc/$f $pkgdir/usr/share/mtasc/$f
done
}
-
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
new file mode 100644
index 000000000..8c368df2c
--- /dev/null
+++ b/community/nodejs/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: James Campos <james.r.campos@gmail.com>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Dongsheng Cai <dongsheng at moodle dot com>
+# Contributor: Masutu Subric <masutu.arch at googlemail dot com>
+# Contributor: TIanyi Cui <tianyicui@gmail.com>
+
+pkgname=nodejs
+pkgver=0.4.9
+pkgrel=1
+pkgdesc='Evented I/O for V8 javascript'
+arch=('i686' 'x86_64')
+url='http://nodejs.org/'
+license=('MIT')
+depends=('python2')
+makedepends=('curl') # curl used for check()
+optdepends=('openssl: TLS support')
+conflicts=('nodejs-unstable')
+source=("http://nodejs.org/dist/node-v${pkgver}.tar.gz")
+sha256sums=('f231ea6d19ea9ea4c7f8e7ff5061e7d301f1635bec7ed0ff1eef2512576ea442')
+
+build() {
+ cd node-v${pkgver}
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print) wscript tools/waf-light tools/node-waf
+ do
+ sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' ${file}
+ sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' ${file}
+ done
+ sed -i "s|cmd_R = 'python |cmd_R = 'python2 |" wscript
+ sed -i "s|python |python2 |" Makefile
+
+ ./configure \
+ --prefix=/usr
+
+ make
+}
+
+check() {
+ cd node-v${pkgver}
+
+ # only 1 test should fail afaik
+ # === release test-http-dns-fail ===
+ # https://github.com/joyent/node/issues/703
+ make test || true
+}
+
+package() {
+ cd node-v${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 LICENSE \
+ ${pkgdir}/usr/share/licenses/nodejs/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/pcsc-perl/PKGBUILD b/community/pcsc-perl/PKGBUILD
index 2f6a561b9..94dceea86 100644
--- a/community/pcsc-perl/PKGBUILD
+++ b/community/pcsc-perl/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 42913 2011-03-22 16:19:32Z giovanni $
+# $Id: PKGBUILD 50836 2011-07-01 18:53:03Z bluewind $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
# Contributor: marc0s <marc0s@fsfe.org>
pkgname=pcsc-perl
pkgver=1.4.12
-pkgrel=1
+pkgrel=2
pkgdesc="A Perl Module for PC/SC SmartCard access"
arch=('i686' 'x86_64' 'mips64el')
url="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/"
diff --git a/community/perl-device-serialport/PKGBUILD b/community/perl-device-serialport/PKGBUILD
index a6f90f403..896384913 100644
--- a/community/perl-device-serialport/PKGBUILD
+++ b/community/perl-device-serialport/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 42422 2011-03-16 15:50:28Z spupykin $
+# $Id: PKGBUILD 50831 2011-07-01 18:51:53Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Ross melin <rdmelin@gmail.com>
pkgname=perl-device-serialport
pkgver=1.04
-pkgrel=2
+pkgrel=3
pkgdesc="POSIX clone of Win32::SerialPort"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Device-SerialPort"
diff --git a/community/perl-perlio-eol/PKGBUILD b/community/perl-perlio-eol/PKGBUILD
new file mode 100644
index 000000000..81a8c7697
--- /dev/null
+++ b/community/perl-perlio-eol/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 50826 2011-07-01 18:50:47Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-perlio-eol
+pkgver=0.14
+pkgrel=1
+pkgdesc="Perl/CPAN Module PerlIO::eol"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/PerlIO-eol"
+license=("GPL" "PerlArtistic")
+replaces=(perlio-eol)
+source=("http://www.cpan.org/authors/id/A/AU/AUDREYT/PerlIO-eol-$pkgver.tar.gz")
+md5sums=('55c5d3fafab00a511ff1c2722060235c')
+
+build() {
+ cd $srcdir/PerlIO-eol-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=$pkgdir || return 1
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
+}
diff --git a/community/python2-basemap/PKGBUILD b/community/python2-basemap/PKGBUILD
index a0611b72d..a903b14ed 100644
--- a/community/python2-basemap/PKGBUILD
+++ b/community/python2-basemap/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 40923 2011-03-01 17:22:50Z stephane $
+# $Id: PKGBUILD 50811 2011-07-01 15:17:50Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Julien Morin <jmorin@cp.dias.ie>
pkgname=python2-basemap
-pkgver=1.0
-pkgrel=2
+pkgver=1.0.1
+pkgrel=1
pkgdesc="Toolkit for plotting data on map projections"
arch=('i686' 'x86_64' 'mips64el')
url="http://matplotlib.sourceforge.net/basemap/doc/html/"
@@ -16,7 +16,7 @@ provides=('python-matplotlib-basemap')
replaces=('python-matplotlib-basemap')
conflicts=('python-matplotlib-basemap')
source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz")
-sha1sums=('c1e2a9e76fdc6582dd951b86b4479cc439e8b372')
+sha1sums=('bd278580c004ec597020e313cc2c568593a018eb')
build() {
cd "${srcdir}/basemap-${pkgver}"
diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD
index 4e8feebc8..ee86cf453 100644
--- a/community/root/PKGBUILD
+++ b/community/root/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Sebastian Voecking <voeck@web.de>
pkgname=root
-pkgver=5.28.00e
+pkgver=5.30.00
pkgrel=1
pkgdesc='C++ data analysis framework and interpreter from CERN.'
arch=('i686' 'x86_64' 'mips64el')
@@ -17,7 +17,7 @@ source=("ftp://root.cern.ch/root/root_v${pkgver}.source.tar.gz"
'rootd'
'root.desktop'
'root.xml')
-md5sums=('e023538c046ebdde7f93284b5f6511e2'
+md5sums=('b4e00f419f63d5ec6b7f1aace33c0c6f'
'0e883ad44f99da9bc7c23bc102800b62'
'efd06bfa230cc2194b38e0c8939e72af'
'ac61b17395d75a2705fefa2ef841a6bf'
@@ -39,11 +39,12 @@ build() {
./configure \
${TARGET} \
--prefix=/usr \
- --disable-builtin-glew \
- --disable-builtin-freetype \
--disable-builtin-ftgl \
+ --disable-builtin-freetype \
+ --disable-builtin-glew \
--disable-builtin-pcre \
--disable-builtin-zlib \
+ --enable-builtin-lzma \
--enable-gdml \
--enable-gsl-shared \
--enable-minuit2 \
@@ -52,12 +53,14 @@ build() {
--enable-python \
--with-python-incdir=/usr/include/python2.7 \
--with-python-libdir=/usr/lib
- #--disable-krb5
- # disable krb5 because of compile error
# move from aur
#--disable-builtin-afterimage \
+ # causes an error because it includes lzma/lzma.h directly.. need to file a BR for this
+ # http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=13013&p=55971
+ #--disable-builtin-lzma \
+
make
}
@@ -66,10 +69,14 @@ package() {
make DESTDIR=${pkgdir} install
- install -D ${srcdir}/root.sh ${pkgdir}/etc/profile.d/root.sh
- install -D ${srcdir}/rootd ${pkgdir}/etc/rc.d/rootd
- install -D -m644 ${srcdir}/root.desktop ${pkgdir}/usr/share/applications/root.desktop
- install -D -m644 ${srcdir}/root.xml ${pkgdir}/usr/share/mime/packages/root.xml
+ install -D ${srcdir}/root.sh \
+ ${pkgdir}/etc/profile.d/root.sh
+ install -D ${srcdir}/rootd \
+ ${pkgdir}/etc/rc.d/rootd
+ install -D -m644 ${srcdir}/root.desktop \
+ ${pkgdir}/usr/share/applications/root.desktop
+ install -D -m644 ${srcdir}/root.xml \
+ ${pkgdir}/usr/share/mime/packages/root.xml
rm -rf ${pkgdir}/etc/root/daemons
}