summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb1a65930632e4b61125bb46dfd03338bd126fee (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
27
28
# Maintainer: Roger Zanoni <rogerzanoni@gmail.com>

pkgname=udevnotifier-git
pkgver=7149ecd
pkgrel=1
pkgdesc="A Qt handler library for UDEV event system notifications"
arch=('i686' 'x86_64')
license=('MIT')
depends=('qt5-base' 'libsystemd')
# temporary source, should be https://github.com/nwoki/udevnotifier.git
source=("$pkgname::git+https://github.com/rogerzanoni/udevnotifier.git")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd $pkgname
  qmake .
  make
}

package() {
  cd $pkgname
  make INSTALL_ROOT="$pkgdir" install
}