summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-15 23:14:29 +0000
committerroot <root@rshg054.dnsready.net>2011-10-15 23:14:29 +0000
commit8fd7bc607a8e4b26853b4263153a736767b163cd (patch)
tree0ce4c6dc95dd97a16e544cc72db4e90973588f4c /testing
parent4232b74445f80f4175c1485a53a02c79b37a63f1 (diff)
Sat Oct 15 23:14:29 UTC 2011
Diffstat (limited to 'testing')
-rw-r--r--testing/erlang/PKGBUILD62
-rw-r--r--testing/hplip/PKGBUILD47
-rw-r--r--testing/pyalpm/PKGBUILD4
-rw-r--r--testing/telepathy-glib/PKGBUILD13
4 files changed, 87 insertions, 39 deletions
diff --git a/testing/erlang/PKGBUILD b/testing/erlang/PKGBUILD
new file mode 100644
index 000000000..b9da3fc65
--- /dev/null
+++ b/testing/erlang/PKGBUILD
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 140452 2011-10-14 19:44:00Z ibiru $
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com>
+
+pkgname=erlang
+pkgver=R14B04
+pkgrel=1
+pkgdesc="A small concurrent functional programming language developed by Ericsson."
+arch=(i686 x86_64)
+url="http://www.erlang.org/index.html"
+license=('custom')
+depends=('ncurses' 'glibc')
+makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc' 'mesa')
+optdepends=('wxgtk: for wx support' 'unixodbc: database')
+
+options=('!makeflags')
+source=(http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz
+ http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz)
+
+build() {
+ cd "$srcdir/otp_src_${pkgver/./-}"
+ ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk)
+ ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < lib/erl_interface/vsn.mk)
+
+ sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure
+
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" ./configure --prefix=/usr --enable-smp-support --enable-threads -enable-native-libs
+ make
+ make INSTALL_PREFIX="$pkgdir" install
+
+# fix prefix
+ cd "$pkgdir"
+ for i in usr/lib/erlang/bin/erl \
+ usr/lib/erlang/bin/start \
+ usr/lib/erlang/erts-${ERTSVERSION}/bin/erl \
+ usr/lib/erlang/erts-${ERTSVERSION}/bin/start \
+ usr/lib/erlang/releases/RELEASES ;do
+ sed -i "s#$pkgdir##" $i
+ done
+
+# fix symlinks
+ cd "$pkgdir/usr/lib/erlang/bin"
+ ln -sf ../erts-${ERTSVERSION}/bin/epmd
+
+ cd "$pkgdir/usr/bin"
+ for file in *; do
+ ln -sfv ../lib/erlang/bin/$file
+ done
+
+ ln -s ../lib/erlang/lib/erl_interface-${ERLINTERFACEVERSION}/bin/erl_call "$pkgdir/usr/bin/erl_call"
+
+# install documentation
+ install -d "$pkgdir/usr/share/doc/erlang"
+ install -D -m644 "$srcdir"/{COPYRIGHT,PR.template,README} "$pkgdir/usr/share/doc/erlang"
+ cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang"
+
+ install -Dm644 "$srcdir/otp_src_${pkgver/./-}/EPLICENCE" "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
+
+}
+md5sums=('4b469729f103f52702bfb1fb24529dc0'
+ 'f31e72518daae4007f595c0b224dd59f')
diff --git a/testing/hplip/PKGBUILD b/testing/hplip/PKGBUILD
index f91e41043..b94467fd7 100644
--- a/testing/hplip/PKGBUILD
+++ b/testing/hplip/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 139141 2011-09-30 09:12:15Z eric $
+# $Id: PKGBUILD 140428 2011-10-14 05:01:01Z eric $
# Maintainer : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
pkgname=hplip
-pkgver=3.11.7
-pkgrel=2
+pkgver=3.11.10
+pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
license=('GPL')
-makedepends=('python2-qt' 'python2-gobject2' 'pkg-config' 'sane' 'rpcbind' 'cups')
depends=('python2' 'ghostscript>=8.64-6' 'foomatic-db' 'foomatic-db-engine'
- 'libcups>=1.3.10-3' 'net-snmp>=5.7.1' 'libusb-compat')
+ 'net-snmp>=5.7.1')
+makedepends=('python2-qt' 'python2-gobject2' 'sane' 'rpcbind' 'cups')
optdepends=('cups: for printing support'
'dbus-python: for dbus support'
'sane: for scanner support'
@@ -19,22 +19,25 @@ optdepends=('cups: for printing support'
'python-notify: for Desktop notification support'
'rpcbind: for network support'
'python2-qt: for running hp-toolbox'
- 'pygobject: for running hp-toolbox'
+ 'python2-gobject2: for running hp-toolbox'
'hplip-plugin: binary blobs for specific devices')
replaces=('hpijs')
options=('!libtool')
install=hplip.install
-source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
- hplip-cups-1.5.0-compatibility.patch)
-md5sums=('5cb89a00b0c680d8bf9bf4b4f1f863b1'
- 'f4422ee0dc842e1a53b75c24f468d65c'
- 'a767000ce920e9f7f6a5b0a8e4392ef9')
+source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('6143f30f3b6905ef22105176a3b80db0'
+ '396bbd8c5cc92aa8295e5bcb508692f3')
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i "$srcdir/hplip-cups-1.5.0-compatibility.patch"
export PYTHON=python2
find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} +
+ sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' base/magic.py
+ # fix sysfs rules
+ sed -i -e "s|SYSFS|ATTR|g" \
+ -e "s|sysfs|attr|g" \
+ data/rules/56-hpmud_support.rules
+
./configure --prefix=/usr \
--enable-qt4 \
--enable-foomatic-rip-hplip-install \
@@ -51,21 +54,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-
- rm -rf "$pkgdir/etc/sane.d"
- # remove autostart of hp-daemon
- rm -r "$pkgdir/etc/xdg"
- # move udev rules to /lib/udev/rules.d
- mkdir -p "$pkgdir/lib/udev/rules.d"
- mv "$pkgdir"/etc/udev/rules.d/* "$pkgdir/lib/udev/rules.d/"
- rm -r "$pkgdir/etc/udev"
- # remove lp user, it's not used on archlinux
- sed -i 's|OWNER="lp", ||g' "$pkgdir/lib/udev/rules.d/40-hplip.rules"
- # fix sysfs rules
- sed -i -e "s|SYSFS|ATTR|g" \
- -e "s|sysfs|attr|g" \
- -e 's|"bin/sh|"/bin/sh|g' \
- "$pkgdir/lib/udev/rules.d/56-hpmud_support.rules"
+ make rulesdir=/lib/udev/rules.d DESTDIR="$pkgdir/" install
+ # remove config provided by sane and autostart of hp-daemon
+ rm -rf "$pkgdir"/etc/{sane.d,xdg}
}
-
diff --git a/testing/pyalpm/PKGBUILD b/testing/pyalpm/PKGBUILD
index 7a2eccdda..ae6b07d79 100644
--- a/testing/pyalpm/PKGBUILD
+++ b/testing/pyalpm/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer : Rémy Oudompheng <remy@archlinux.org>
pkgname=pyalpm
-pkgver=0.5
+pkgver=0.5.1
pkgrel=1
pkgdesc="Libalpm bindings for Python 3"
arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@ url="http://projects.archlinux.org/users/remy/pyalpm.git/"
license=('GPL')
depends=('python>=3.2' 'pacman>=4')
source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
-md5sums=('25b078e0c56d10cf64edd026be317760')
+md5sums=('dc59883d19306e89d99e15d820a877e6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
diff --git a/testing/telepathy-glib/PKGBUILD b/testing/telepathy-glib/PKGBUILD
index 73f2c19af..7d49f32f9 100644
--- a/testing/telepathy-glib/PKGBUILD
+++ b/testing/telepathy-glib/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 139169 2011-09-30 19:17:32Z ibiru $
+# $Id: PKGBUILD 140454 2011-10-14 19:55:55Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
pkgname=telepathy-glib
-pkgver=0.15.6
-pkgrel=2
+pkgver=0.16.0
+pkgrel=1
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
@@ -14,14 +14,11 @@ license=('LGPL2.1')
options=('!libtool' '!emptydirs')
depends=('dbus-glib')
makedepends=('libxslt' 'vala' 'gobject-introspection')
-source=("http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- fix_gnome-shell.patch)
-md5sums=('37881cb8d2a33184cf5957db809b8278'
- '015037782eeb8658a9fb093f49a2097f')
+source=("http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('071ed1b34ace45109188df73933609e4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/fix_gnome-shell.patch"
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--libexecdir=/usr/lib/telepathy \
--enable-vala-bindings \