diff options
author | Antonio Cardace | 2015-10-02 11:35:07 +0200 |
---|---|---|
committer | Antonio Cardace | 2015-10-02 11:35:07 +0200 |
commit | 5a926e88a75ccacb760f2743f910bdcd1019389b (patch) | |
tree | e9e96028f06b333dfc99c8ecee3cdae39c3596bf | |
parent | c51a74cb8e2fbd902d9a1c4c52ec2a42e475280c (diff) | |
download | aur-5a926e88a75ccacb760f2743f910bdcd1019389b.tar.gz |
Now compiles from source
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | umview.diff | 37 | ||||
-rw-r--r-- | umview.install | 9 |
4 files changed, 86 insertions, 7 deletions
@@ -3,16 +3,27 @@ pkgbase = umview pkgver = 0.8.2 pkgrel = 2 url = https://www.sourceforge.net/projects/view-os + install = umview.install arch = x86_64 license = GPL2 + makedepends = autoconf + makedepends = automake + makedepends = make + makedepends = libtool depends = glibc>=2.15 depends = libumlib0=0.8.2 optdepends = umview-mod-umlwip: module for umview networking provides = umview=0.8.2 conflicts = umview replaces = umview - source = http://ftp.us.debian.org/debian/pool/main/u/umview/umview_0.8.2-1.1_amd64.deb - md5sums = 7eafe4e65c339a2527f43a5b4af26bb4 + source = http://http.debian.net/debian/pool/main/u/umview/umview_0.8.2.orig.tar.gz + source = umview.diff + source = http://ftp.us.debian.org/debian/pool/main/u/umview/umview_0.8.2-1.1_i386.deb + source = umview.install + md5sums = ac6d6baeb5700943ecf5021d980ceb7d + md5sums = da9e8792d0c16a1a5cf2eb86d326715e + md5sums = d00669b5d2b9137dad7aa66e5d5a274a + md5sums = b4165e6142a92d65c8e14479486decc4 pkgname = umview @@ -9,17 +9,39 @@ license=('GPL2') depends=('glibc>=2.15' 'libumlib0=0.8.2') optdepends=('umview-mod-umlwip: module for umview networking') +makedepends=('autoconf' 'automake' 'make' 'libtool') provides=("$pkgname=$pkgver") conflicts=("$pkgname") replaces=("$pkgname") -source=("http://ftp.us.debian.org/debian/pool/main/u/umview/umview_0.8.2-1.1_amd64.deb") -md5sums=("7eafe4e65c339a2527f43a5b4af26bb4") +install="$pkgname.install" +source=("http://http.debian.net/debian/pool/main/u/umview/umview_0.8.2.orig.tar.gz" + "${pkgname}.diff" + "http://ftp.us.debian.org/debian/pool/main/u/umview/umview_0.8.2-1.1_i386.deb" + "${pkgname}.install") +md5sums=("ac6d6baeb5700943ecf5021d980ceb7d" + "da9e8792d0c16a1a5cf2eb86d326715e" + "d00669b5d2b9137dad7aa66e5d5a274a" + "b4165e6142a92d65c8e14479486decc4") prepare() { - cd "$srcdir" - tar -xf data.tar.xz + cd "$srcdir/umview-${pkgver}" + patch -i ../${pkgname}.diff Makefile.am +} + +build(){ + cd "$srcdir/umview-${pkgver}" + autoreconf -i &> /dev/null + ./configure --prefix="${pkgdir}/usr" --disable-static + make } package() { - cp -r "${srcdir}/usr" "$pkgdir" + 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/umview-${pkgver}" + make install > /dev/null 2>&1 + rm -rf ${pkgdir}/usr/lib/libumlib* } diff --git a/umview.diff b/umview.diff new file mode 100644 index 000000000000..e25f1e950d7c --- /dev/null +++ b/umview.diff @@ -0,0 +1,37 @@ +*** Makefile.am 2012-05-12 19:31:55.000000000 +0200 +--- changes 2015-10-02 11:12:37.075085327 +0200 +*************** +*** 2,21 **** + + DEBUGLEVEL = 3 + +! SUBDIRS = doc include um_lib um_cmd um_testmodule umdev umdev_testmodules umdevmbr umbinfmt xmview ummisc ummisc_modules um_viewfs umnet umnet_modules umfuse_modules +! +! if ENABLE_UMDEVTAP +! SUBDIRS += umdevtap +! endif + + if ENABLE_UMFUSE + SUBDIRS += umfuse + endif + +- if ENABLE_UM_LWIP +- SUBDIRS += umnetlwipv6 +- endif +- + tags: + ctags -R . + +--- 2,13 ---- + + DEBUGLEVEL = 3 + +! SUBDIRS = doc um_lib um_cmd um_testmodule umdev umdev_testmodules umdevmbr umbinfmt ummisc ummisc_modules umnet umnet_modules umfuse_modules + + if ENABLE_UMFUSE + SUBDIRS += umfuse + endif + + tags: + ctags -R . + diff --git a/umview.install b/umview.install new file mode 100644 index 000000000000..dc2ebedcdc56 --- /dev/null +++ b/umview.install @@ -0,0 +1,9 @@ +post_install() { + set -e + ldconfig +} + +post_remove() { + set -e + ldconfig +} |