This package is broken, because the used script set_revision.sh parses the output of svn version command not correctly and uses a wrong url.
Also it should be noted, that it does not use the pacman 4.1 syntax for svn packages yet.
I made this (ugly) quick fix for a guy in #archlinux.de today and he said it works: https://paste.xinu.at/ycyv/
Search Criteria
Package Details: line6linux-svn 927-2
Package Actions
| Package Base: | line6linux-svn |
|---|---|
| Description: | A collection of software to use Line6 devices under linux |
| Upstream URL: | http://www.tanzband-scream.at/line6/ |
| Category: | multimedia |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2010-09-07 12:59 |
| Last Updated: | 2012-04-03 06:43 |
Latest Comments
Comment by carstene1ns
Comment by silentz0r
Fails to build, here's the output: http://pastie.org/8462827
Comment by oggy
To get this to compile with Linux 3.2 kernels, the following should be added to audio.h:
#include <linux/export.h>
Here's a patch:
linux3.2.patch
==============
--- a/line6usb/audio.h
+++ b/line6usb/audio.h
@@ -13,6 +13,7 @@
#define AUDIO_H
#include "driver.h"
+#include <linux/export.h>
extern void line6_cleanup_audio(struct usb_line6 *);
extern int line6_init_audio(struct usb_line6 *);
PKGBUILD
========
# Maintainer: s1gma <s1gma@mindslicer.com>
pkgname=line6linux-svn
pkgver=927
pkgrel=1
pkgdesc="A collection of software to use Line6 devices under linux"
arch=('i686' 'x86_64')
url="http://www.tanzband-scream.at/line6/"
license=('GPL')
depends=('perl')
makedepends=('subversion' 'linux-headers' 'lyx')
provides=('line6linux')
install='line6usb.install'
source=('driverdocs.pdf' 'linux3.2.patch')
md5sums=('8229eaa7e5986951452995d20dbc0a60' 'a2f2eb9aa80bb5ea2e8749774f19de1d')
_svntrunk=https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk
_svnmod=line6usb
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_svnmod-build"
patch -p1 < linux3.2.patch
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
make
}
package() {
cp driverdocs.pdf "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
make DESTDIR="$pkgdir" install-only
}