diff options
author | Matthew Gamble | 2015-11-24 21:56:48 +1100 |
---|---|---|
committer | Matthew Gamble | 2015-11-24 21:56:48 +1100 |
commit | 051a755bd196c1f6145d5f4efbebe36ce2fe7037 (patch) | |
tree | 8e64f045c68a8a6c1287ce0020dd88055a72a38a | |
parent | 0713c0459c0c92903ccfec739b9b358ca71169ff (diff) | |
download | aur-051a755bd196c1f6145d5f4efbebe36ce2fe7037.tar.gz |
Update duck to latest version. Move symlink creation into PKGBUILD.
-rw-r--r--[-rwxr-xr-x] | PKGBUILD | 13 | ||||
-rw-r--r--[-rwxr-xr-x] | duck.install | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD index 0caa71d4024f..a5ccae1da5e6 100755..100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Upstream URL: https://duck.sh/ pkgname=duck -pkgver=4.7.17418 +pkgver=4.8.18546 pkgrel=2 pkgdesc="Cyberduck CLI" PKGEXT='.pkg.tar' @@ -13,12 +13,15 @@ url="https://duck.sh/" install=$pkgname.install makedepends=('rpmextract') depends=('java-runtime') -md5sums_x86_64=('48fc1c17350adda930f8b4b1c3d16de0') -source_x86_64=("https://repo.cyberduck.io/stable/x86_64/duck-$pkgver.x86_64.rpm") -md5sums_i686=('fa217a087f45cc77292fa86f712f3b76') -source_i686=("https://repo.cyberduck.io/stable/i386/duck-$pkgver.i686.rpm") +md5sums_x86_64=('83f3bcf56d259020ae70590343f4a031') +md5sums_i686=('20d63d3cc803d5b3aa38463daed1873e') +source_x86_64=("https://dist.duck.sh/duck-${pkgver}.x86_64.rpm") +source_i686=("https://dist.duck.sh/duck-${pkgver}.i686.rpm") + package() { rpmextract.sh * chmod -R g-w opt mv opt "${pkgdir}" + mkdir -p "${pkgdir}/usr/bin" + ln -s /opt/duck/duck "${pkgdir}/usr/bin/duck" } diff --git a/duck.install b/duck.install index 0372088b1148..f4a410f3e4ff 100755..100644 --- a/duck.install +++ b/duck.install @@ -9,7 +9,6 @@ _update() { } post_install() { - ln -sf /opt/duck/duck /usr/local/bin/duck desktop-file-install /opt/duck/duck.desktop _update } @@ -19,7 +18,6 @@ post_upgrade() { } post_remove() { - rm -f /usr/local/bin/duck rm -f /usr/share/applications/duck.desktop _update } |