summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d642b53dffac275f343287df3058c5a02281281 (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
# Maintainer: Patrick Wicki <patrick.wicki96 at gmail dot com>

pkgname=barify
pkgver=r4.6734055
pkgrel=1
pkgdesc='Modify volume or brightness and display result as a bar via notifications'
arch=(any)
url="https://github.com/arctize/barify"
source=("git+$url.git")
license=(GPL3)
depends=(git notification-daemon)
optdepends=('dunst: for notifications on Xorg'
            'mako: for notifications on Wayland')
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm 755 barify "$pkgdir/usr/bin/barify"
}