diff options
author | Jesse Jaara | 2019-01-28 12:00:29 +0200 |
---|---|---|
committer | Jesse Jaara | 2019-01-28 12:00:29 +0200 |
commit | e4acdfd0f367cde50a1f7a71348d950e1955aadf (patch) | |
tree | 32530701be4a0b8958ad33289bf66e7b3a67ec7d | |
download | aur-socket.io-tester.tar.gz |
Add package to AUR.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | Socket.io-tester.desktop | 6 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7973a28d7e5c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = socket.io-tester + pkgdesc = An app that allows one to connect to Socket.io server and send and receive messages for testing purposes. + pkgver = 1.2.3 + pkgrel = 1 + url = http://appsaloon.github.io/socket.io-tester/ + arch = x86_64 + license = GPL2 + depends = alsa-lib + depends = gconf + depends = gtk2 + depends = nss + depends = libxss + depends = libxtst + noextract = socket.io-tester-1.2.3-x86_64.zip + source = Socket.io-tester.desktop + source = https://github.com/AppSaloon/socket.io-tester/raw/master/assets/logo.png + sha256sums = 4bcc6998d7601297bd59ce44a0c071f2e1e623d0123468b6761154e424c6e818 + sha256sums = ec15d9779dec4dc67ed35a41abf5fd8847ca8d5c34b17a4c2873e172772673ed + source_x86_64 = socket.io-tester-1.2.3-x86_64.zip::https://github.com/AppSaloon/socket.io-tester/releases/download/v1.2.3/socket-io-tester-linux-x64.zip + sha256sums_x86_64 = a13dbf9c9fd5396f92b712fbb982be55987f19b33a44ba7eb4a6dcd11b5fccea + +pkgname = socket.io-tester + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb8e009a5b5c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jesse Jaara <gmail.com: jesse.jaara> <vincit.fi: jesse.jaara> + +pkgname=socket.io-tester +pkgver=1.2.3 +pkgrel=1 +pkgdesc="An app that allows one to connect to Socket.io server and send and receive messages for testing purposes." +arch=('x86_64') +url="http://appsaloon.github.io/socket.io-tester/" +license=('GPL2') +depends=('alsa-lib' 'gconf' 'gtk2' 'nss' 'libxss' 'libxtst' ) +options=() +source=("Socket.io-tester.desktop" + "https://github.com/AppSaloon/${pkgname}/raw/master/assets/logo.png") +source_x86_64=("${pkgname}-${pkgver}-${CARCH}.zip::https://github.com/AppSaloon/socket.io-tester/releases/download/v${pkgver}/socket-io-tester-linux-x64.zip") +sha256sums=('4bcc6998d7601297bd59ce44a0c071f2e1e623d0123468b6761154e424c6e818' + 'ec15d9779dec4dc67ed35a41abf5fd8847ca8d5c34b17a4c2873e172772673ed') +sha256sums_x86_64=('a13dbf9c9fd5396f92b712fbb982be55987f19b33a44ba7eb4a6dcd11b5fccea') +noextract=("${pkgname}-${pkgver}-${CARCH}.zip") + +package() { + mkdir -p "${pkgdir}/opt/${pkgname}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/applications" + + bsdtar -xf "${srcdir}/${pkgname}-${pkgver}-${CARCH}.zip" --strip-components 1 --no-same-owner -C "${pkgdir}/opt/socket.io-tester" + cp "${srcdir}/logo.png" "${pkgdir}/opt/socket.io-tester/" + cp "${srcdir}/Socket.io-tester.desktop" "${pkgdir}/usr/share/applications/" + ln -s "/opt/${pkgname}/socket-io-tester" "${pkgdir}/usr/bin/${pkgname}" +} diff --git a/Socket.io-tester.desktop b/Socket.io-tester.desktop new file mode 100644 index 000000000000..aba402f1eb37 --- /dev/null +++ b/Socket.io-tester.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Socket.io tester +Comment=An electron app that lets you connect to a socket.io server and subscribe to a certain topic and/or lets you send socket messages to the server +Exec=socket.io-tester +Icon=/opt/socket.io-tester/logo.png +Type=Application
\ No newline at end of file |