diff options
author | Reto Brunner | 2017-04-16 18:16:14 +0200 |
---|---|---|
committer | Reto Brunner | 2017-04-16 18:18:57 +0200 |
commit | 40f53477d21f84488ff0093bee4b57f820a2f33b (patch) | |
tree | 82cdd78ee7cec666ae2de4bb3ae38b0f980cebb8 /PKGBUILD | |
download | aur-40f53477d21f84488ff0093bee4b57f820a2f33b.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7bcc9a79aa77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Reto Brunner <brunnre8@gmail.com> +pkgname=networkd-notify-git +pkgver=r6.989affa +pkgrel=2 +pkgdesc='Desktop notification integration for systemd-networkd' +arch=('any') +url='https://github.com/wavexx/networkd-notify' +license=('GPL3') +depends=('python' 'python-gobject' 'python-dbus' 'wireless_tools') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname"::'git+https://github.com/wavexx/networkd-notify.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + +} +package() { + cd "$srcdir/${pkgname}" + mkdir -p "$pkgdir/usr/bin" + install -m755 "networkd-notify" "$pkgdir/usr/bin/networkd-notify" +} |