summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/claws-mail-extra-plugins/PKGBUILD8
-rw-r--r--testing/cloog/PKGBUILD10
-rw-r--r--testing/gcc/PKGBUILD26
-rw-r--r--testing/isl/PKGBUILD16
-rw-r--r--testing/mesa/PKGBUILD22
-rw-r--r--testing/mesa/nouveau-fix-header.patch86
-rw-r--r--testing/miro/PKGBUILD29
-rw-r--r--testing/miro/miro.install17
-rw-r--r--testing/networkmanager/PKGBUILD6
-rw-r--r--testing/udisks/01-mkfs-tempdir.patch17
-rw-r--r--testing/udisks/PKGBUILD37
11 files changed, 238 insertions, 36 deletions
diff --git a/testing/claws-mail-extra-plugins/PKGBUILD b/testing/claws-mail-extra-plugins/PKGBUILD
index 6d32e06bd..b1110e3ed 100644
--- a/testing/claws-mail-extra-plugins/PKGBUILD
+++ b/testing/claws-mail-extra-plugins/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 118805 2011-04-07 20:23:35Z andyrtr $
+# $Id: PKGBUILD 119030 2011-04-10 14:07:06Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Mildred <mildred593 at online dot fr>
pkgname=claws-mail-extra-plugins
-pkgver=3.7.8
-pkgrel=3
+pkgver=3.7.9
+pkgrel=2
pkgdesc="Extra plugins for claws-mail"
url="http://www.claws-mail.org/plugins.php?branch=EXT"
license=('GPL3')
@@ -33,7 +33,7 @@ replaces=('sylpheed-claws-extra-plugins')
options=('!libtool')
source=(http://downloads.sourceforge.net/project/sylpheed-claws/extra%20plugins/$pkgver/claws-mail-extra-plugins-$pkgver.tar.bz2
claws-mail-notification-0.26-libnotify-0.7.patch)
-md5sums=('8a67a00598262f8ca07a4af5cd43361d'
+md5sums=('3d1ebc48f686ab10702380c776b5d5d0'
'b76e1cdbff7af46d6594c34646c06fd0')
build() {
diff --git a/testing/cloog/PKGBUILD b/testing/cloog/PKGBUILD
index 82049f36d..39645a7e5 100644
--- a/testing/cloog/PKGBUILD
+++ b/testing/cloog/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 106802 2011-01-19 09:43:37Z allan $
+# $Id: PKGBUILD 119094 2011-04-10 21:37:04Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=cloog
-pkgver=0.16.1
+pkgver=0.16.2
pkgrel=1
pkgdesc="Library that generates loops for scanning polyhedra"
arch=('i686' 'x86_64')
@@ -12,12 +12,16 @@ depends=('isl' 'gmp')
conflicts=('cloog-ppl<0.15.10-2')
options=('!libtool')
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz)
-md5sums=('947123350d1ff6dcb4b0774947ac015a')
+md5sums=('83877caaa879c7160063138bb18348e7')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --with-isl=system --with-gmp=system
make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
make check
}
diff --git a/testing/gcc/PKGBUILD b/testing/gcc/PKGBUILD
index d3a6dcdc9..c746c765a 100644
--- a/testing/gcc/PKGBUILD
+++ b/testing/gcc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 116981 2011-03-27 06:16:42Z allan $
+# $Id: PKGBUILD 119099 2011-04-10 21:45:04Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
@@ -6,8 +6,8 @@
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
pkgver=4.6.0
-pkgrel=1
-#_snapshot=4.6.0-RC-20110321
+pkgrel=2
+_snapshot=4.6-20110408
_libstdcppmanver=20110201 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
arch=('i686' 'x86_64')
@@ -15,18 +15,18 @@ license=('GPL' 'LGPL' 'FDL' 'custom')
url="http://gcc.gnu.org"
makedepends=('binutils>=2.21' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'dejagnu')
options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${pkgver}.tar.bz2
- #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${_snapshot}.tar.bz2
+source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${pkgver}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${_snapshot}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api.${_libstdcppmanver}.man.tar.bz2
gcc_pure64.patch
gcc-hash-style-both.patch)
-md5sums=('b1957f3209080b2f55bc3756d3a62b7c'
- 'a30090fa655d0db4c970740d353c81f1'
- 'a4687a9035c3e92db7e84fc01fc548ef'
- '120d4675366ee82ea52f9ed65b57da04'
- 'ea003fee5123f5bfbe17cc569cffe867'
- 'c182dfcad477564af9d94e2aa1552bcd'
- '8c76d751c5b99560e8acc3111f62263a'
+md5sums=('51ee21d6bd7955c78cb29038ff8089d0'
+ '92144f8790ca850317b6f4496e534aef'
+ '7286e62b51e126226e10e0e6a1706eae'
+ 'a9da84a451c4484126b2befa446b1638'
+ '94de82b3148b7686901f35c223477813'
+ '6719f6e005e2e443ebc5a3609607e8ef'
+ '0a870e1180a0cb4ffa5264f0b79abe3f'
'1e9fd2eaf0ee47ea64e82c48998f1999'
'4030ee1c08dd1e843c0225b772360e76'
'4df25b623799b148a0703eaeec8fdf3f')
@@ -69,7 +69,7 @@ build() {
--enable-lto --enable-gold --enable-ld=default \
--enable-plugin --with-plugin-ld=ld.gold \
--disable-multilib --disable-libstdcxx-pch \
- --enable-checking=release
+ --enable-checking=release
make
}
diff --git a/testing/isl/PKGBUILD b/testing/isl/PKGBUILD
index 5cd8c8dfa..bba92fb24 100644
--- a/testing/isl/PKGBUILD
+++ b/testing/isl/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 106792 2011-01-19 09:34:43Z allan $
+# $Id: PKGBUILD 119089 2011-04-10 21:34:57Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=isl
-pkgver=0.05.1
+pkgver=0.06
pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('i686' 'x86_64')
@@ -10,16 +10,24 @@ url="http://www.kotnet.org/~skimo/isl/"
license=('LGPL2.1')
options=('!libtool')
source=(http://www.kotnet.org/~skimo/isl/$pkgname-$pkgver.tar.bz2)
-md5sums=('8ef8f307d3f042434e358ddf3320dcad')
+md5sums=('504f054eaffdd8d07c497ebe3ebc7e04')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make -j1 DESTDIR="$pkgdir/" install
+
+ # this seems a better place for this file...
+ install -dm755 $pkgdir/usr/share/gdb/auto-load/
+ mv $pkgdir/usr/{lib,share/gdb/auto-load}/libisl.so.6.0.0-gdb.py
}
diff --git a/testing/mesa/PKGBUILD b/testing/mesa/PKGBUILD
index 26997608b..5b4bd68c4 100644
--- a/testing/mesa/PKGBUILD
+++ b/testing/mesa/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 117470 2011-04-03 17:24:19Z ibiru $
+# $Id: PKGBUILD 119075 2011-04-10 20:11:41Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
@@ -11,7 +11,7 @@ _git=false
if [ "${_git}" = "true" ]; then
pkgver=7.10.0.git20110215
else
- pkgver=7.10.1
+ pkgver=7.10.2
fi
pkgrel=2
arch=('i686' 'x86_64')
@@ -19,17 +19,18 @@ makedepends=('glproto>=1.4.12' 'pkgconfig' 'libdrm>=2.4.23' 'libxxf86vm>=1.1.0'
'gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'libxml2' 'imake')
url="http://mesa3d.sourceforge.net"
license=('custom')
-source=(LICENSE)
+source=(LICENSE gnome-shell-shader-fix.patch nouveau-fix-header.patch)
if [ "${_git}" = "true" ]; then
# mesa git shot from 7.10 branch - see for state: http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.10&id=cc1636b6db85604510f97f8a37d7fd0ecf453866
source=(${source[@]} 'ftp://ftp.archlinux.org/other/mesa/mesa-cc1636b6db85604510f97f8a37d7fd0ecf453866.tar.bz2')
else
source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2"
- gnome-shell-shader-fix.patch)
+)
fi
md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
- 'efe8da4d80c2a5d32a800770b8ce5dfa'
- '3ec78f340f9387abd7a37b195e764cbf')
+ '3ec78f340f9387abd7a37b195e764cbf'
+ '67c87b77cc2236b52a3b47dad3fbb5d4'
+ 'f5de82852f1243f42cc004039e10b771')
build() {
if [ "${_git}" = "true" ]; then
@@ -42,6 +43,7 @@ fi
#backport from master to fix gnome-shell shader
#https://bugs.freedesktop.org/show_bug.cgi?id=35714
patch -Np1 -i "${srcdir}/gnome-shell-shader-fix.patch"
+patch -Np1 -i "${srcdir}/nouveau-fix-header.patch"
if [ "${_git}" = "true" ]; then
./autogen.sh --prefix=/usr \
@@ -105,7 +107,7 @@ fi
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so"
install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
- install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/"
+ install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/"
}
package_libgles() {
@@ -130,7 +132,7 @@ fi
bin/minstall include/GLES2/* "${pkgdir}/usr/include/GLES2/"
install -m755 -d "${pkgdir}/usr/share/licenses/libgles"
- install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgles/"
+ install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgles/"
}
package_libegl() {
@@ -160,7 +162,7 @@ fi
bin/minstall docs/egl.html "${pkgdir}/usr/share/doc/libegl/"
install -m755 -d "${pkgdir}/usr/share/licenses/libegl"
- install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libegl/"
+ install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libegl/"
}
package_mesa() {
depends=('libgl' 'libx11>=1.3.5' 'libxt>=1.0.8' 'gcc-libs>=4.5' 'dri2proto=2.3' 'libdrm>=2.4.22' 'glproto>=1.4.12')
@@ -187,7 +189,7 @@ fi
rm -rf ${pkgdir}/usr/include/{GLES,GLES2,EGL,KHR}
install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
- install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/"
+ install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/"
}
package_ati-dri() {
diff --git a/testing/mesa/nouveau-fix-header.patch b/testing/mesa/nouveau-fix-header.patch
new file mode 100644
index 000000000..38aa996f1
--- /dev/null
+++ b/testing/mesa/nouveau-fix-header.patch
@@ -0,0 +1,86 @@
+From 5c102dd94f435e97507213fbd128e50dd15f5f54 Mon Sep 17 00:00:00 2001
+From: Ben Skeggs <bskeggs@redhat.com>
+Date: Mon, 20 Dec 2010 03:39:36 +0000
+Subject: nouveau: fix includes for latest libdrm
+
+Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
+---
+diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
+index ab480ca..747b084 100644
+--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
++++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
+@@ -10,7 +10,7 @@
+ #include "nouveau/nouveau_grobj.h"
+ #include "nouveau/nouveau_notifier.h"
+ #include "nouveau/nouveau_resource.h"
+-#include "nouveau/nouveau_pushbuf.h"
++#include "nouveau/nv04_pushbuf.h"
+
+ #ifndef NV04_PFIFO_MAX_PACKET_LEN
+ #define NV04_PFIFO_MAX_PACKET_LEN 2047
+diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
+index ce48022..a99df76 100644
+--- a/src/gallium/drivers/nv50/nv50_surface.c
++++ b/src/gallium/drivers/nv50/nv50_surface.c
+@@ -22,7 +22,7 @@
+
+ #define __NOUVEAU_PUSH_H__
+ #include <stdint.h>
+-#include "nouveau/nouveau_pushbuf.h"
++#include "nouveau/nv04_pushbuf.h"
+ #include "nv50_context.h"
+ #include "nv50_resource.h"
+ #include "pipe/p_defines.h"
+diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c
+index e0e65e7..e2fadd3 100644
+--- a/src/gallium/drivers/nvfx/nv04_2d.c
++++ b/src/gallium/drivers/nvfx/nv04_2d.c
+@@ -34,11 +34,11 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <nouveau/nouveau_device.h>
+-#include <nouveau/nouveau_pushbuf.h>
+ #include <nouveau/nouveau_channel.h>
+ #include <nouveau/nouveau_bo.h>
+ #include <nouveau/nouveau_notifier.h>
+ #include <nouveau/nouveau_grobj.h>
++#include <nouveau/nv04_pushbuf.h>
+ #include "nv04_2d.h"
+
+ #include "nouveau/nv_object.xml.h"
+diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c
+index 597664e..339b317 100644
+--- a/src/gallium/drivers/nvfx/nvfx_vbo.c
++++ b/src/gallium/drivers/nvfx/nvfx_vbo.c
+@@ -9,8 +9,7 @@
+ #include "nvfx_resource.h"
+
+ #include "nouveau/nouveau_channel.h"
+-
+-#include "nouveau/nouveau_pushbuf.h"
++#include "nouveau/nv04_pushbuf.h"
+
+ static inline unsigned
+ util_guess_unique_indices_count(unsigned mode, unsigned indices)
+diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h
+index 8036b18..c5ac128 100644
+--- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h
++++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h
+@@ -38,7 +38,6 @@
+ #include <assert.h>
+
+ #include "nouveau_device.h"
+-#include "nouveau_pushbuf.h"
+ #include "nouveau_grobj.h"
+ #include "nouveau_channel.h"
+ #include "nouveau_bo.h"
+@@ -46,6 +45,7 @@
+ #include "nouveau_screen.h"
+ #include "nouveau_state.h"
+ #include "nouveau_surface.h"
++#include "nv04_pushbuf.h"
+
+ #define DRIVER_DATE "20091015"
+ #define DRIVER_AUTHOR "Nouveau"
+--
+cgit v0.8.3-6-g21f6
diff --git a/testing/miro/PKGBUILD b/testing/miro/PKGBUILD
new file mode 100644
index 000000000..a923b8f65
--- /dev/null
+++ b/testing/miro/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 119004 2011-04-10 11:32:39Z eric $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=miro
+pkgver=3.5.1
+pkgrel=2
+pkgdesc="The free and open source internet TV platform"
+arch=('i686' 'x86_64')
+url="http://www.getmiro.com"
+license=('GPL2')
+depends=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
+ 'python-pysqlite' 'pywebkitgtk' 'shared-mime-info'
+ 'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme'
+ 'gstreamer0.10-python' 'python-notify' 'libtorrent-rasterbar'
+ 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python-pycurl')
+makedepends=('pkg-config')
+install=miro.install
+source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('0f5c2a307e7040c9c2895ee9a2d1c3ff99d34e9e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/linux"
+
+ python2 setup.py install --root="${pkgdir}"
+
+ # fix miro startup script so --debug works with python2
+ sed -i "s|which python|which python2|" "${pkgdir}/usr/bin/miro"
+ sed -i "s|./miro.real|/usr/bin/miro.real|" "${pkgdir}/usr/bin/miro"
+}
diff --git a/testing/miro/miro.install b/testing/miro/miro.install
new file mode 100644
index 000000000..a5ee228aa
--- /dev/null
+++ b/testing/miro/miro.install
@@ -0,0 +1,17 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+
diff --git a/testing/networkmanager/PKGBUILD b/testing/networkmanager/PKGBUILD
index fb2c07498..a5991fa4c 100644
--- a/testing/networkmanager/PKGBUILD
+++ b/testing/networkmanager/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 118015 2011-04-05 06:49:05Z heftig $
+# $Id: PKGBUILD 119010 2011-04-10 13:15:03Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinxu.org>
# Contri-butor: Wael Nasreddine <gandalf@siemens-mobiles.org>
# Contributor: Tor Krill <tor@krill.nu>
@@ -7,7 +7,7 @@
pkgname=networkmanager
pkgver=0.8.998
-pkgrel=1
+pkgrel=2
pkgdesc="Network Management daemon"
arch=('i686' 'x86_64')
license=('GPL')
@@ -55,4 +55,6 @@ package() {
make DESTDIR="${pkgdir}" install
install -m644 "${srcdir}/NetworkManager.conf" "${pkgdir}/etc/NetworkManager/"
+
+ rm -rf "${pkgdir}/var/run/"
}
diff --git a/testing/udisks/01-mkfs-tempdir.patch b/testing/udisks/01-mkfs-tempdir.patch
new file mode 100644
index 000000000..976108264
--- /dev/null
+++ b/testing/udisks/01-mkfs-tempdir.patch
@@ -0,0 +1,17 @@
+# Description: Daemon does not create /var/run/udisks/, so mkfs jobs fail.
+# Just create the directory in /tmp, this is what /tmp is for, after all.
+# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=24265
+
+Index: udisks/src/helpers/job-mkfs.c
+===================================================================
+--- udisks.orig/src/helpers/job-mkfs.c 2010-12-05 23:08:54.587881164 +0100
++++ udisks/src/helpers/job-mkfs.c 2010-12-05 23:09:12.399889312 +0100
+@@ -546,7 +546,7 @@
+ /* take ownership of the device if requested */
+ if (take_ownership_uid != 0 || take_ownership_gid != 0)
+ {
+- char dir[256] = PACKAGE_LOCALSTATE_DIR "/run/udisks/job-mkfs-XXXXXX";
++ char dir[256] = "/tmp/job-mkfs-XXXXXX";
+
+ if (mkdtemp (dir) == NULL)
+ {
diff --git a/testing/udisks/PKGBUILD b/testing/udisks/PKGBUILD
new file mode 100644
index 000000000..98feb0535
--- /dev/null
+++ b/testing/udisks/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 119007 2011-04-10 12:50:18Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=udisks
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Disk Management Service"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL')
+depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'lvm2' 'eject')
+makedepends=('intltool' 'docbook-xsl' 'gtk-doc')
+options=(!libtool)
+#source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+source=(ftp://ftp.archlinux.org/other/${pkgname}-${pkgver}.tar.xz
+ 01-mkfs-tempdir.patch)
+sha256sums=('a4d18b2de59c1567df5342f26960c6c3e70a0320f7bafe42893f2708c9b57dd5'
+ '786c0adb1a37e16b351c906527e3cbd17193bb51d8c1dd0889f216556c419c6c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/01-mkfs-tempdir.patch"
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/udisks --disable-static
+ #fix location for bash_completion helper
+ sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/var/run"
+}