diff options
author | Mart Lubbers | 2015-06-13 09:11:57 +0200 |
---|---|---|
committer | Mart Lubbers | 2015-06-13 09:11:57 +0200 |
commit | d42667495207cbceb262c3578f6aa3f0d76e93b0 (patch) | |
tree | a4946672fc573073d90f432d241d0b621a18a59d | |
download | aur-d42667495207cbceb262c3578f6aa3f0d76e93b0.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | netctltray.install | 7 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..25f1fcac8ebf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = netctltray + pkgdesc = Tray icon to switch netctl profiles. + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/dopefishh/netctl-tray + install = netctltray.install + arch = any + license = custom + depends = python + depends = python-pyside + optdepends = x11-ssh-askpass: Graphical password entry + optdepends = sudo: Get permission to run netctl + source = netctltray.install + source = https://github.com/dopefishh/netctl-tray/archive/0.2a.tar.gz + md5sums = 8d4a5c22de4ae9c1c3dcdea32d2359e4 + md5sums = 74b877fb907b2e74183416e0dfcb17e6 + +pkgname = netctltray + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ffa495524cc0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Your Name <mart@martlubbers.net> +pkgname=netctltray +pkgver=0.2 +pkgrel=1 +pkgdesc="Tray icon to switch netctl profiles." +arch=('any') +url="https://github.com/dopefishh/netctl-tray" +license=('custom') +depends=('python' 'python-pyside') +optdepends=('x11-ssh-askpass: Graphical password entry' + 'sudo: Get permission to run netctl') +install=netctltray.install +source=('netctltray.install') +source+=("https://github.com/dopefishh/netctl-tray/archive/${pkgver}a.tar.gz") +md5sums=('8d4a5c22de4ae9c1c3dcdea32d2359e4' '74b877fb907b2e74183416e0dfcb17e6') + +package() { + cd netctl-tray-0.2a + gzip -9v netctltray.1 + install -vd "$pkgdir"{/opt/netctltray/,/usr/{bin,share/{licenses/netctltray,/man/man1}}} + install -vm 755 netctltray.py "$pkgdir"/opt/netctltray/ + install -vm 644 netctltray.1.gz "$pkgdir"/usr/share/man/man1/ + install -vm 644 licence "$pkgdir"/usr/share/licenses/netctltray/ + install -vm 644 netctl.py check.svg icon.svg "$pkgdir"/opt/netctltray/ + ln -sf /opt/netctltray/netctltray.py "$pkgdir"/usr/bin/netctltray +} diff --git a/netctltray.install b/netctltray.install new file mode 100644 index 000000000000..760e7ae72d82 --- /dev/null +++ b/netctltray.install @@ -0,0 +1,7 @@ +post_install() { + echo "Post install" +} + +post_remove() { + echo "Remove" +} |