summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-20 23:11:18 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-20 23:11:18 -0500
commitece89a97511617611f33b2417a114135fa9b57a2 (patch)
treecdd0caeb1283fe86c858602a5a6fe79047928510 /~lukeshu
parent6822840a062952490ca867819b7428685cb79985 (diff)
downloadabslibre-ece89a97511617611f33b2417a114135fa9b57a2.tar.gz
abslibre-ece89a97511617611f33b2417a114135fa9b57a2.tar.bz2
abslibre-ece89a97511617611f33b2417a114135fa9b57a2.zip
Add a nonworking PKGBUILD for upstream libxad
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/xadmaster/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/~lukeshu/xadmaster/PKGBUILD b/~lukeshu/xadmaster/PKGBUILD
new file mode 100644
index 000000000..8f358aae6
--- /dev/null
+++ b/~lukeshu/xadmaster/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# NOTE: This currently does not build.
+
+pkgname=xadmaster
+pkgver=13.0.2006.06.21
+pkgrel=1
+pkgdesc="The port of the Amiga 'xadmaster.library' to *NIX"
+arch=('i686' 'x86_64')
+url="http://www.dstoecker.eu/xadmaster.html"
+license=('LGPL2.1')
+groups=()
+depends=('glibc')
+makedepends=('cvs')
+provides=('libxad')
+conflicts=('libxad')
+replaces=()
+backup=()
+options=()
+install=
+source=()
+noextract=()
+md5sums=()
+
+_cvsroot=:pserver:anonymous@libxad.cvs.sourceforge.net:/cvsroot/libxad
+_cvsmod=libxad
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
+
+ if [[ -d "$_cvsmod/CVS" ]]; then
+ cd "$_cvsmod"
+ cvs -z3 update -d
+ else
+ cvs -z3 -d "$_cvsroot" co -D "$pkgver" -f "$_cvsmod"
+ cd "$_cvsmod"
+ fi
+
+ msg "CVS checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_cvsmod-build"
+ cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
+ cd "$srcdir/$_cvsmod-build"
+
+ # BUILD
+ cd portable
+ autoconf # FIXME: On my system this fails, I don't know what to do
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_cvsmod-build"
+ make DESTDIR="$pkgdir/" install
+}