diff options
author | Rafael Fontenelle | 2016-10-13 13:38:04 -0300 |
---|---|---|
committer | Rafael Fontenelle | 2016-10-13 13:41:25 -0300 |
commit | 85813c214b64c524bb9b4492aae3a4373c4180a8 (patch) | |
tree | 620347de333448109bee906bf5ac2fb1ec40c5cc | |
parent | d852d1d9359ce9e715feafd83ab05aff4e0c0e65 (diff) | |
download | aur-85813c214b64c524bb9b4492aae3a4373c4180a8.tar.gz |
Update to 3
This commit removes unnecessary workaround for access Serial port
and add install a file telling users to use uucp group.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rwxr-xr-x | putty-freedesktop.install | 11 |
3 files changed, 18 insertions, 24 deletions
@@ -1,27 +1,20 @@ # Generated by mksrcinfo v8 -# Tue Aug 30 00:22:29 UTC 2016 +# Thu Oct 13 16:36:53 UTC 2016 pkgbase = putty-freedesktop pkgdesc = Icon and .desktop file for Putty - pkgver = 2 + pkgver = 3 pkgrel = 1 url = http://www.chiark.greenend.org.uk/~sgtatham/putty/ + install = putty-freedesktop.install arch = any license = MIT depends = putty - optdepends = sudo: privilege escalation for putty - optdepends = gksu: privilege escalation for putty - optdepends = xterm: privilege escalation for putty - optdepends = kdebase-runtime: privilege escalation for putty source = putty.desktop source = putty.png source = putty.xpm - source = putty-root.desktop - source = su-to-putty.sh sha256sums = d33543cfd081f9a9fef3f5de0663b92142312d3d345faa559a771c7ef60dca69 sha256sums = 50cd4712011ea5124fc999298e1ccb51e10ba4f6448e434dc5e46b80c6d9b18a sha256sums = d65139883171ed0119d9778ff4a89e6a8151a5ae97fcf8dc7cafb59df424377f - sha256sums = 359c41850691bea8bdeb3331f9fa3abb2ff8871f1a236943a89c70a57ce82b09 - sha256sums = 2e32d76276675f2f5ed2ea996d95776ec3c7776ea04ba3fe96a28300ba8a3144 pkgname = putty-freedesktop @@ -2,32 +2,22 @@ # Contributor: GI_Jack <iamjacksemail@hackermail.com> pkgname=putty-freedesktop -pkgver=2 +pkgver=3 pkgrel=1 pkgdesc="Icon and .desktop file for Putty" arch=('any') license=('MIT') url='http://www.chiark.greenend.org.uk/~sgtatham/putty/' depends=('putty') -optdepends=('sudo: privilege escalation for putty' - 'gksu: privilege escalation for putty' - 'xterm: privilege escalation for putty' - 'kdebase-runtime: privilege escalation for putty') -source=('putty.desktop' 'putty.png' 'putty.xpm' - 'putty-root.desktop' 'su-to-putty.sh') +install='putty-freedesktop.install' +source=('putty.desktop' 'putty.png' 'putty.xpm') sha256sums=('d33543cfd081f9a9fef3f5de0663b92142312d3d345faa559a771c7ef60dca69' '50cd4712011ea5124fc999298e1ccb51e10ba4f6448e434dc5e46b80c6d9b18a' - 'd65139883171ed0119d9778ff4a89e6a8151a5ae97fcf8dc7cafb59df424377f' - '359c41850691bea8bdeb3331f9fa3abb2ff8871f1a236943a89c70a57ce82b09' - '2e32d76276675f2f5ed2ea996d95776ec3c7776ea04ba3fe96a28300ba8a3144') + 'd65139883171ed0119d9778ff4a89e6a8151a5ae97fcf8dc7cafb59df424377f') package() { - install -Dm755 su-to-putty.sh \ - "${pkgdir}/usr/share/${pkgname}/su-to-putty.sh" install -Dm644 putty.desktop \ "${pkgdir}/usr/share/applications/putty.desktop" - install -m644 putty-root.desktop \ - "${pkgdir}/usr/share/applications/putty-root.desktop" install -Dm644 putty.png \ "${pkgdir}/usr/share/pixmaps/putty.png" install -m644 putty.xpm \ diff --git a/putty-freedesktop.install b/putty-freedesktop.install new file mode 100755 index 000000000000..65daa7a3ace8 --- /dev/null +++ b/putty-freedesktop.install @@ -0,0 +1,11 @@ +post_install() { + cat << EOF +To use serial port, add users to uucp group +For more info, see <https://wiki.archlinux.org/index.php/users_and_groups> +EOF +} + +post_upgrade() { + post_install +} + |