summaryrefslogtreecommitdiff
path: root/libre-testing/xadmaster/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-02 17:46:48 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-02 17:46:48 -0400
commita896e039514a8f7a529042b373eb227d7e2c9b29 (patch)
tree7c9ebebe88c3f20ed60132733701745a4fefe71a /libre-testing/xadmaster/PKGBUILD
parente2b3eb7b06bc404996eb9939019b6dc40c6366c9 (diff)
Move expiramental unarchiver things from [~lukeshu] to [libre-testing]
Diffstat (limited to 'libre-testing/xadmaster/PKGBUILD')
-rw-r--r--libre-testing/xadmaster/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/libre-testing/xadmaster/PKGBUILD b/libre-testing/xadmaster/PKGBUILD
new file mode 100644
index 000000000..8f358aae6
--- /dev/null
+++ b/libre-testing/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
+}