Skip to content

Commit

Permalink
Added the mouse-recorder package
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlendea committed Jul 5, 2021
1 parent bc65b0a commit b22a238
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pkg/*/pkg
pkg/*/src
pkg/*/*.jar
pkg/*/*.zip
pkg/*/*.zst
pkg/*/*.[Tt][Aa][Rr].[Gg][Zz]
Expand Down
21 changes: 21 additions & 0 deletions pkg/mouse-recorder/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgname=mouse-recorder
pkgver=1.0.1
pkgrel=0
pkgdesc="Record and replay your mouse and keyboard actions"
arch=('any')
url="https://github.com/eguller/MouseRecorder"
license=('Unlicense')
depends=('jre-openjdk')
install=
source=(https://github.com/eguller/MouseRecorder/releases/download/v${pkgver}/MouseRecorder.jar)
sha256sums=('SKIP')

package() {
install -d "${pkgdir}/opt/MouseRecorder"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/applications"

install -m755 "${srcdir}/MouseRecorder.jar" "${pkgdir}/opt/MouseRecorder/"
install -m755 "${srcdir}/../mouse-recorder.sh" "${pkgdir}/usr/bin/${pkgname}"
install -m755 "${srcdir}/../mouse-recorder.desktop" "${pkgdir}/usr/share/applications"
}
10 changes: 10 additions & 0 deletions pkg/mouse-recorder/mouse-recorder.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Mouse Recorder
GenericName=Mouse Recorder
Comment=Record and replay your mouse and keyboard actions
Keywords=macros keyboard mouse recorder mouserecorder automation shortcut bind
Exec=mouse-recorder
Terminal=false
Type=Application
Icon=autokey
Categories=Java;Utility;
2 changes: 2 additions & 0 deletions pkg/mouse-recorder/mouse-recorder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
java -jar /opt/MouseRecorder/MouseRecorder.jar

0 comments on commit b22a238

Please sign in to comment.