summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Cardace2015-10-06 09:14:57 +0200
committerAntonio Cardace2015-10-06 09:14:57 +0200
commitd918645e29e42ce87c91890d7c6e97f713865c35 (patch)
tree7ba753881854f58b7409dd17570c54e1b9f0508d /PKGBUILD
downloadaur-d918645e29e42ce87c91890d7c6e97f713865c35.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0caa8bfea98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Antonio Cardace <anto.cardace@gmail.com>
+pkgname=umview-svn
+pkgver=r1129
+pkgrel=1
+pkgdesc="User-mode implementation of View-OS."
+arch=('x86_64' 'i686')
+url="https://www.sourceforge.net/projects/view-os"
+license=('GPL2')
+depends=('glibc>=2.15'
+ 'libumlib0-svn')
+optdepends=('umview-mod-umlwip-svn: module for umview networking')
+makedepends=('autoconf' 'automake' 'make' 'libtool')
+provides=("$pkgname=$pkgver")
+conflicts=("$pkgname")
+replaces=("$pkgname")
+install="$pkgname.install"
+source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os"
+ "${pkgname}.install")
+md5sums=("SKIP"
+ "b4165e6142a92d65c8e14479486decc4")
+
+
+pkgver() {
+ cd "$srcdir/xmview-os"
+ local ver="$(svnversion)"
+ printf "r%s" "${ver//[[:alpha:]]}"
+}
+
+build(){
+ cd "$srcdir/xmview-os"
+ autoreconf -i &> /dev/null
+ if [ "$CARCH" == "x86_64" ]; then
+ ./configure --prefix="${pkgdir}/usr" --disable-static
+ else
+ ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static
+ fi
+ make
+}
+
+package() {
+ #tar -xf data.tar.xz
+ #mkdir -p ${pkgdir}/usr/share/man
+ #cp -r usr/share/doc ${pkgdir}/usr/share
+ #cp -r usr/share/man/man2 ${pkgdir}/usr/share/man
+ #cp -r usr/share/man/man5 ${pkgdir}/usr/share/man
+ cd "$srcdir/xmview-os"
+ make install
+ if [ "$CARCH" == "x86_64" ]; then
+ rm -rf ${pkgdir}/usr/lib/libumlib*
+ else
+ rm -rf ${pkgdir}/usr/lib32/libumlib*
+ fi
+}