summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9836a877afd6d7d30301764232500958caa6cea6 (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=3367697
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/nwoki/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
}