diff options
author | tildearrow | 2018-12-08 21:25:05 -0500 |
---|---|---|
committer | tildearrow | 2018-12-08 21:25:05 -0500 |
commit | 00a6a15c8968962da6269558404739f6a4ce0397 (patch) | |
tree | c9815fdf391926ec7970686d32e1bd569598831f /PKGBUILD | |
download | aur-00a6a15c8968962da6269558404739f6a4ce0397.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a1ea5d3f978c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: tildearrow <acc12345acc at gmail dot com> +# yes, I'm aware of the reference to $srcdir issue +pkgname=input-modifier +pkgver=1.3.1 +pkgrel=1 +pkgdesc="uinput based key bindings and macros tool" +arch=('i686' 'x86_64') +url="https://github.com/tildearrow/input-modifier" +license=('GPL') +depends=('udev') +makedepends=('cmake') +source=("https://github.com/tildearrow/input-modifier/archive/v$pkgver.tar.gz") +sha256sums=('9f0f35b15af6f171ffa7ab23909c4b6fcc1acf92f83ef070d9b02123f34ae419') +install=imod.install + +build() { + cd "$pkgname-$pkgver" + if [ -e build ] + then rm -rf build + fi + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX="/usr" .. + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="$pkgdir/" install + # unneeded. to be fixed for 1.3.2 + rm "$pkgdir/usr/lib/udev/rules.d/98-imod-ubuntu14.rules" +} |