blob: 4b8759d1338098222b2b5023e98efbd31413a756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Reto Brunner <brunnre8@gmail.com>
pkgname=networkd-notify-git
pkgver=r22.9730435
pkgrel=2
pkgdesc='Desktop notification integration for systemd-networkd'
arch=('any')
url='https://gitlab.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://gitlab.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}"
install -Dm755 "networkd-notify" "$pkgdir/usr/bin/networkd-notify"
install -Dm644 "networkd-notify.desktop"\
"$pkgdir/usr/share/applications/networkd-notify.desktop"
}
|