diff options
author | Christopher Reimer | 2016-02-23 12:53:19 +0100 |
---|---|---|
committer | Christopher Reimer | 2016-02-23 12:53:19 +0100 |
commit | a4bfcc11d44e6067e55130ae0465f46010180871 (patch) | |
tree | 1b83444d0d719c93d5bbdc138a371baeb145d6df | |
parent | b7b8d80616c74fc8f442c7a44f47e093e21d37ca (diff) | |
download | aur-a4bfcc11d44e6067e55130ae0465f46010180871.tar.gz |
Update (1.6.1-1)
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 107 | ||||
-rw-r--r-- | repetier-host.install | 12 |
3 files changed, 65 insertions, 67 deletions
@@ -1,19 +1,20 @@ +# Generated by mksrcinfo v8 +# Mon Feb 22 13:04:18 UTC 2016 pkgbase = repetier-host pkgdesc = almost complete 3d-printing workflow - pkgver = 1.5.6 + pkgver = 1.6.1 pkgrel = 1 url = http://www.repetier.com/ install = repetier-host.install arch = x86_64 arch = i686 license = custom - depends = mono>=3.2.0 + depends = desktop-file-utils + depends = mono optdepends = slic3r optdepends = skeinforge - source = http://download.repetier.com/files/host/linux/repetierHostLinux_1_5_6.tgz - source = repetier-host.install - md5sums = 23b7e278e17ab1ce1ba247e333a08cc5 - md5sums = 3bf735df87c6f3b9e807bbc82edd7a05 + source = http://download.repetier.com/files/host/linux/repetierHostLinux_1_6_1.tgz + md5sums = c07fab367995f16847fbeb167042e845 pkgname = repetier-host @@ -1,72 +1,77 @@ -# Maintainer: Somebody <somebody[at]foo[dot]tld> +# Maintainer: der_ronny <ronnymichaelradke[at]web[dot]de> +# Co-Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de> pkgname=repetier-host -pkgver=1.5.6 +pkgver=1.6.1 pkgrel=1 pkgdesc="almost complete 3d-printing workflow" -url=('http://www.repetier.com/') +url='http://www.repetier.com/' arch=('x86_64' 'i686') license=('custom') -depends=('mono>=3.2.0') +depends=('desktop-file-utils' 'mono') optdepends=('slic3r' 'skeinforge') -source=("http://download.repetier.com/files/host/linux/repetierHostLinux_1_5_6.tgz" "$pkgname.install") -md5sums=('23b7e278e17ab1ce1ba247e333a08cc5' -'3bf735df87c6f3b9e807bbc82edd7a05') - -PKGEXT=".pkg.tar" +_pkgver="${pkgver//./_}" +source=("http://download.repetier.com/files/host/linux/repetierHostLinux_$_pkgver.tgz") +md5sums=('c07fab367995f16847fbeb167042e845') install=$pkgname.install build() { -cd ${srcdir}/RepetierHost/ -DIR=/usr/share/repetierHost + cd ${srcdir}/RepetierHost + _dir=/usr/share/repetierHost + _osbit=`uname -m` + echo "System: ${_osbit}" + + if [ ${_osbit} = "i686" ]; then + cp plugins/CuraEngine/CuraEngine32 plugins/CuraEngine/CuraEngine + else + cp plugins/CuraEngine/CuraEngine64 plugins/CuraEngine/CuraEngine + fi + chmod a+x plugins/CuraEngine/CuraEngine -OSBIT=`uname -m` -echo "System: ${OSBIT}" -if [ ${OSBIT} = "i686" ]; then -echo "Using 32 bit CuraEngine" - cp plugins/CuraEngine/CuraEngine32 plugins/CuraEngine/CuraEngine -else -echo "Using 64 bit CuraEngine" - cp plugins/CuraEngine/CuraEngine64 plugins/CuraEngine/CuraEngine -fi + chmod a+rx ../RepetierHost + chmod -R a+r * + chmod -R a+x data + + g++ SetBaudrate.cpp -o SetBaudrate +} -echo "#!/bin/sh" > repetierHost -echo "cd ${DIR}" >> repetierHost -echo "mono RepetierHost.exe -home ${DIR}&" >> repetierHost -chmod 755 repetierHost -chmod a+rx ../RepetierHost -chmod -R a+r * -chmod -R a+x data -chmod a+x installDep* -rm configureFirst.sh -rm installDependenciesDebian -rm installDependenciesFedora -rm createDesktopIcon.sh -g++ SetBaudrate.cpp -o SetBaudrate +package() { + _dir=/usr/share/repetierHost + mkdir -p "$pkgdir/usr/bin" + echo "#!/bin/sh" > "$pkgdir"/usr/bin/repetierHost + echo "cd ${_dir}" >> "$pkgdir"/usr/bin/repetierHost + echo "mono RepetierHost.exe -home ${_dir}&" >> "$pkgdir"/usr/bin/repetierHost + chmod 755 "$pkgdir"/usr/bin/repetierHost -echo "[Desktop Entry] + mkdir -p "$pkgdir/usr/share/applications" + echo "[Desktop Entry] Name=Repetier-Host -Exec=mono RepetierHost.exe -home $dir& +Exec=/usr/bin/mono $_dir/RepetierHost.exe -home $_dir Type=Application StartupNotify=true Comment=Repetier-Host 3d printer host software -Path=$dir -Icon=$dir/repetier-logo.png -Comment[en_US.UTF-8]=Repetier Host -Name[en_US]=Repetier-Host -" >> ${srcdir}/Repetier-Host.desktop -chmod +x ${srcdir}/Repetier-Host.desktop +Path=$_dir +Icon=$_dir/repetier-logo.png +MimeType=application/sla;text/gcode;application/wavefront-obj;application/x-amf; +" > "$pkgdir"/usr/share/applications/repetier-RepetierHost.desktop -} + mkdir -p "$pkgdir/$_dir" + cd "$pkgdir/$_dir" + cp -a "$srcdir"/RepetierHost/* . -package() { -mkdir -p $pkgdir/usr/share/ -mkdir -p $pkgdir/usr/bin -ln -s /usr/share/repetierHost/repetierHost $pkgdir/usr/bin/repetierHost + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + mv Repetier-Host-licence.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + find -name '*.txt' -delete + find -name '*.cpp' -delete + find -name '*.sh' -delete + find -name 'CuraEngine32' -delete + find -name 'CuraEngine64' -delete + find -name 'Thumbs.db' -delete + find -name '.DS_Store' -delete + find -name '*.application' -delete + find -name 'repetierHost' -delete + find -name '*.desktop' -delete + find -name 'installDependencies*' -delete -install -Dm644 ${srcdir}/RepetierHost/Repetier-Host-licence.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -rm ${srcdir}/RepetierHost/Repetier-Host-licence.txt -cp -a ${srcdir}/RepetierHost $pkgdir/usr/share/repetierHost -install -Dm755 ${srcdir}/Repetier-Host.desktop $pkgdir/usr/share/applications/Repetier-Host.desktop } -# vim:set ts=2 sw=2 et: diff --git a/repetier-host.install b/repetier-host.install index 9a76b4060948..66a736d00d20 100644 --- a/repetier-host.install +++ b/repetier-host.install @@ -1,14 +1,6 @@ post_install() { - echo "IMPORTANT: In addition to the bundled CuraEngine, the host also" - echo "supports Slic3r and Skeinforge. These slicers are not bundled, so" - echo "need to install them according to their docs and then set the path" - echo "to them in Repetier-Host." + update-desktop-database -q } post_upgrade() { - echo "IMPORTANT: In addition to the bundled CuraEngine, the host also" - echo "supports Slic3r and Skeinforge. These slicers are not bundled anymore, so" - echo "need to install them according to their docs and then set the path" - echo "to them in Repetier-Host." - echo This is the version 1.0.6. It now features CuraEngine and has many changes to better work with multi-extruder setups and much more. After installing the new version, old versions might no longer run, unless you delete the registry entries under: - echo \$HOME/.mono/registry/CurrentUser/software/ repetierSoftware/repetier + update-desktop-database -q } |