diff options
author | lukash | 2018-03-12 22:06:05 +0100 |
---|---|---|
committer | lukash | 2018-03-12 22:06:05 +0100 |
commit | 84f0c1f07a9403bb749947621da6e1ddc33b69c2 (patch) | |
tree | 2d94493ba249aec4d82f1f255fd13ffbfe3b8c3c | |
parent | 48e2f26eeba8fc7942ba82d628a62a6b2b48e58c (diff) | |
download | aur-84f0c1f07a9403bb749947621da6e1ddc33b69c2.tar.gz |
Add post_install hook to reload udev rules
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | openhantek-git.install | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -13,9 +13,10 @@ depends=('bzip2' 'double-conversion' 'fftw' 'freetype2' 'fxload' 'libpng' 'libsystemd' 'libusb' 'libx11' 'libxau' 'libxcb' 'libxdmcp' 'libxext' 'lz4' 'pcre' 'pcre2' 'qt5-base' 'xz' 'zlib') +makedepends=('git' 'cmake' 'binutils' 'fakeroot') provides=("$_name") conflicts=("$_name" "$pkgname") -makedepends=('git' 'cmake' 'binutils' 'fakeroot') +install=$pkgname.install source=('git+https://github.com/OpenHantek/openhantek.git') sha256sums=('SKIP') diff --git a/openhantek-git.install b/openhantek-git.install new file mode 100644 index 000000000000..eaa6a83c185e --- /dev/null +++ b/openhantek-git.install @@ -0,0 +1,4 @@ +post_install() { + udevadm control --reload-rules && udevadm trigger +} + |