summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0e1f5e02a43120d2326cea50454a9a1f9050c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Thomas "Ventto" Venri├Ęs <thomas.venries@gmail.com>

pkgname=batify
pkgver=1.0
pkgrel=3
pkgdesc='One udevrules file triggering plug and battery level notifications (multi-X sessions support).'
arch=('any')
url="https://github.com/Ventto/${pkgname}.git"
license=('MIT')
provides=("${pkgname}")
conflicts=("${pkgname}")
depends=('libnotify' 'xpub')
optdepends=('notification-daemon')
source=("https://github.com/Ventto/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')

package() {
  cd ${pkgname}-${pkgver}
  install -Dm644 99-${pkgname}.rules ${pkgdir}/etc/udev/rules.d/99-${pkgname}.rules
}