diff options
author | Kevin Lewis | 2017-09-09 08:57:11 -0400 |
---|---|---|
committer | Kevin Lewis | 2017-09-09 09:07:50 -0400 |
commit | 2d4226d77b96848d9cd408d7b85730e0d765fb7c (patch) | |
tree | dff383f9996da74b40fd0bd5475213f350eeb4d9 | |
download | aur-2d4226d77b96848d9cd408d7b85730e0d765fb7c.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | flashpap | 6 | ||||
-rw-r--r-- | flashpap.desktop | 10 |
5 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..025c3e745707 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = flashpap + pkgdesc = A free tool for extracting xPAP sleep data from FlashAir WiFi-enabled SD cards. + pkgver = 1.3.1 + pkgrel = 1 + url = http://www.cognitial.com/flashpap/index.htm + arch = any + license = unknown + makedepends = unzip + depends = jre8-openjdk + depends = java-openjfx + provides = flashpap + noextract = FlashPAP.zip + source = http://www.cognitial.com/assets/flashpap/FlashPAP.zip + source = flashpap.desktop + source = flashpap + sha256sums = 20909247a1e91785a062fef3064643672eb4b3e107a5e012b1bf353c1674448e + sha256sums = f2ec31e34dc8fb6ceb2b714dd485d6302962f516f9570cdca1a751bcc26d1f19 + sha256sums = c089e9779d6a9267f9df22e76c3532f0b87a0cee91f74cddb9712fa57ebe3ec5 + +pkgname = flashpap + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..976edf736645 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Kevin Lewis <aur AT kevin DOT oakaged DOT io> +pkgname=flashpap +pkgver=1.3.1 +pkgrel=1 +pkgdesc="A free tool for extracting xPAP sleep data from FlashAir WiFi-enabled SD cards." +arch=('any') +url="http://www.cognitial.com/flashpap/index.htm" +license=('unknown') +depends=( + 'jre8-openjdk' + 'java-openjfx' +) +makedepends=('unzip') +provides=("$pkgname") + +source=( + 'http://www.cognitial.com/assets/flashpap/FlashPAP.zip' + 'flashpap.desktop' + 'flashpap' +) + +noextract=('FlashPAP.zip') + +sha256sums=('20909247a1e91785a062fef3064643672eb4b3e107a5e012b1bf353c1674448e' + 'f2ec31e34dc8fb6ceb2b714dd485d6302962f516f9570cdca1a751bcc26d1f19' + 'c089e9779d6a9267f9df22e76c3532f0b87a0cee91f74cddb9712fa57ebe3ec5') + +prepare() { + unzip -u FlashPAP.zip +} + +package() { + install -D $srcdir/FlashPAP/FlashPAP.jar $pkgdir/usr/share/java/flashpap/FlashPAP.jar + rm -f $srcdir/FlashPAP/FlashPAP.jar + mv FlashPAP $pkgdir/usr/share/flashpap + install -D $srcdir/flashpap $pkgdir/usr/bin/flashpap + install -Dm644 $srcdir/flashpap.desktop $pkgdir/usr/share/applications/flashpap.desktop +} diff --git a/flashpap b/flashpap new file mode 100644 index 000000000000..7d197d727667 --- /dev/null +++ b/flashpap @@ -0,0 +1,6 @@ +#!/bin/sh + +export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH +mkdir -p ~/.config/flashpap +cd ~/.config/flashpap +exec java -jar '/usr/share/java/flashpap/FlashPAP.jar' "$@" diff --git a/flashpap.desktop b/flashpap.desktop new file mode 100644 index 000000000000..c3fd5e6e1731 --- /dev/null +++ b/flashpap.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=FlashPAP +Comment=A free tool for extracting xPAP sleep data from FlashAir WiFi-enabled SD cards. +Exec=/usr/bin/flashpap +Icon=/usr/share/flashpap/FlashPAP Icon.png +Terminal=false +Type=Application +Categories=Java;Utility;
\ No newline at end of file |