summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fb1a6593063
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+} \ No newline at end of file