diff options
-rw-r--r-- | .SRCINFO | 56 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | textto-bin.install | 13 |
3 files changed, 97 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..78005cb59d18 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,56 @@ +pkgbase = textto-bin + pkgdesc = Sync your Android device with Textto and text from your computer for free! + pkgver = 1.3.3 + pkgrel = 1 + url = https://textto.io + install = textto-bin.install + arch = i686 + arch = x86_64 + depends = alsa-lib + depends = atk + depends = cairo + depends = dbus + depends = desktop-file-utils + depends = electron + depends = expat + depends = fontconfig + depends = freetype2 + depends = gconf + depends = gdk-pixbuf2 + depends = glib2 + depends = gtk2 + depends = gvfs + depends = hicolor-icon-theme + depends = libcap + depends = libcups + depends = libgcrypt + depends = libnotify + depends = libsystemd + depends = libudev0 + depends = libx11 + depends = libxcb + depends = libxcomposite + depends = libxcursor + depends = libxdamage + depends = libxext + depends = libxfixes + depends = libxi + depends = libxrandr + depends = libxrender + depends = libxss + depends = libxtst + depends = nspr + depends = nss + depends = opera + depends = pango + depends = xdg-utils + optdepends = gir1.2-gnomekeyring-1.0 + optdepends = libgnome-keyring + optdepends = lsb-release + options = !strip + options = !emptydirs + source = https://s3.amazonaws.com/textto.electron/linux/Textto-1.3.3.deb + sha512sums = d05a1b7e4c5ea5f4b594c1e4827690e14a891c249c41dc524cc99a6a5da534850bf9278a75f3d84a8aa3bbadf8750fa5a6d18816403af2979e3a16d461553a3b + +pkgname = textto-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a01e2fe77de --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Generated by debtap +# Maintainer: Eragon <sam.vzh@gmail.com> +# Contributor: Eragon +pkgname=textto-bin +pkgver=1.3.3 +pkgrel=1 +pkgdesc="Sync your Android device with Textto and text from your computer for free!" +arch=('i686' 'x86_64') +url="https://textto.io" +license=('') +groups=('') +depends=('alsa-lib' 'atk' 'cairo' 'dbus' 'desktop-file-utils' 'electron' 'expat' 'fontconfig' 'freetype2' 'gconf' 'gdk-pixbuf2' 'glib2' 'gtk2' 'gvfs' 'hicolor-icon-theme' 'libcap' 'libcups' 'libgcrypt' 'libnotify' 'libsystemd' 'libudev0' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'opera' 'pango' 'xdg-utils') +optdepends=('gir1.2-gnomekeyring-1.0' + 'libgnome-keyring' + 'lsb-release') +options=('!strip' '!emptydirs') +install=${pkgname}.install +source=("https://s3.amazonaws.com/textto.electron/linux/Textto-1.3.3.deb") +sha512sums=('d05a1b7e4c5ea5f4b594c1e4827690e14a891c249c41dc524cc99a6a5da534850bf9278a75f3d84a8aa3bbadf8750fa5a6d18816403af2979e3a16d461553a3b') + +package(){ + # Extract package data + tar xf data.tar.xz -C "${pkgdir}" + + install -D -m644 "/usr/lib/Textto/resources/app/node_modules/yargs-parser/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 "/usr/share/doc/Textto/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" + +} diff --git a/textto-bin.install b/textto-bin.install new file mode 100644 index 000000000000..b50ffb36e4a2 --- /dev/null +++ b/textto-bin.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} |