diff options
author | surefire | 2016-07-13 22:37:36 +0300 |
---|---|---|
committer | surefire | 2016-07-13 22:39:13 +0300 |
commit | fa0df283e3a093d9ade53c8e98800f8d57ad4707 (patch) | |
tree | e563278a258382024f20bdb60f0138db901e7f2a | |
download | aur-fa0df283e3a093d9ade53c8e98800f8d57ad4707.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | desktop | 10 | ||||
-rw-r--r-- | install | 12 | ||||
-rw-r--r-- | sh | 3 |
6 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5e47e3e74b57 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = ghetto-skype-git + pkgdesc = Are you tired of a buggy 32 bit official Skype client? Then Ghetto Skype is for you! + pkgver = v1.3.2.r8.gf66cb2f + pkgrel = 1 + url = https://github.com/stanfieldr/ghetto-skype + install = install + arch = any + license = GPLv3 + depends = electron + depends = hicolor-icon-theme + depends = npm + conflicts = ghetto-skype + source = ghetto-skype-git::git+https://github.com/stanfieldr/ghetto-skype.git + source = desktop + source = sh + md5sums = SKIP + md5sums = d64f8096b45034b1af93134cfdaaeece + md5sums = a3a1b0db9f82c4893b99ad03ab2b9b94 + +pkgname = ghetto-skype-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5b29956910b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +ghetto-skype-git/ +*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b675d53b169 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: surefire <surefire@cryptomile.net> + +_pkgname=ghetto-skype +pkgname=ghetto-skype-git +pkgver=v1.3.2.r8.gf66cb2f +pkgrel=1 +pkgdesc="Are you tired of a buggy 32 bit official Skype client? Then Ghetto Skype is for you!" +arch=("any") +url="https://github.com/stanfieldr/ghetto-skype" +license=("GPLv3") +depends=("electron" "hicolor-icon-theme" "npm") +conflicts=("${_pkgname}") +source=("${pkgname}::git+https://github.com/stanfieldr/ghetto-skype.git" + "desktop" + "sh") + +md5sums=('SKIP' + 'd64f8096b45034b1af93134cfdaaeece' + 'a3a1b0db9f82c4893b99ad03ab2b9b94') + +install="install" + +pkgver() { + cd "${pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}" + rm -r "${pkgdir}/usr/etc" + + install -Dm0644 "desktop" "${pkgdir}/usr/share/applications/ghetto-skype.desktop" + install -Dm0755 "sh" "${pkgdir}/usr/bin/ghetto-skype" + + cd "${pkgname}" + + install -Dm0644 "assets/tray/skype.png" "${pkgdir}/usr/share/pixmaps/ghetto-skype.png" + + install -dm0755 "${pkgdir}/usr/share/licenses/${_pkgname}" + ln -s "/usr/lib/node_modules/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} diff --git a/desktop b/desktop new file mode 100644 index 000000000000..ea250bdaefbb --- /dev/null +++ b/desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Ghetto-Skype +Comment=Ghetto-Skype Internet Messaging +Icon=ghetto-skype.png +Exec=ghetto-skype %U +NoDisplay=false +Categories=Network; +StartupNotify=false +Terminal=false diff --git a/install b/install new file mode 100644 index 000000000000..6c87527e21eb --- /dev/null +++ b/install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} @@ -0,0 +1,3 @@ +#!/bin/sh + +exec electron --app=/usr/lib/node_modules/ghetto-skype "$@" |