summaryrefslogtreecommitdiff
path: root/~lukeshu/xadmaster
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 10:03:07 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 10:03:07 -0300
commit5dd65da58aca5fce1e5fecb4dc98c9e93ba06137 (patch)
treecc4f2eec72181b57fc57f7e70d23453aa5977b8a /~lukeshu/xadmaster
parent82970e08e233c07b6b60e9a614fcc6c729fe19c3 (diff)
parent2574d86e478780b7f332aa097b4db4a3a5e4ca30 (diff)
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~lukeshu/xadmaster')
-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
+}