diff options
author | Mykyta Poturai | 2020-09-20 13:28:08 +0300 |
---|---|---|
committer | Mykyta Poturai | 2020-09-20 13:28:08 +0300 |
commit | ba1d1e88c4932b96795effc3989c4c6ad00d3847 (patch) | |
tree | 705c158d8cae4c1d12df3d088188fcee7c012330 | |
download | aur-ba1d1e88c4932b96795effc3989c4c6ad00d3847.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..360e02bdce8a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = hey-mail-bin + pkgdesc = Hey Mail desktop app + pkgver = 1.0.11 + pkgrel = 1 + url = https://hey.com/apps/ + arch = x86_64 + license = Proprietary + makedepends = squashfs-tools + depends = c-ares + depends = ffmpeg + depends = gtk3 + depends = http-parser + depends = libevent + depends = libvpx + depends = libxslt + depends = libxss + depends = minizip + depends = nss + depends = re2 + depends = snappy + depends = libnotify + depends = libappindicator-gtk2 + depends = libappindicator-gtk3 + source = https://api.snapcraft.io/api/v1/snaps/download/lfWUNpR7PrPGsDfuxIhVxbj0wZHoH7bK_9.snap + md5sums = 2e44b4593f1644df6f2314aa037aae8b + +pkgname = hey-mail-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..006bdaa44e73 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Mykyta Poturai <mykyta.poturai@tutanota.com> +pkgname=hey-mail-bin +pkgver=1.0.11 +pkgrel=1 +pkgdesc="Hey Mail desktop app" +url="https://hey.com/apps/" +arch=('x86_64') +license=('Proprietary') +depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk2' 'libappindicator-gtk3') +makedepends=('squashfs-tools') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +SNAPNAME="lfWUNpR7PrPGsDfuxIhVxbj0wZHoH7bK_9.snap" +source=("https://api.snapcraft.io/api/v1/snaps/download/$SNAPNAME") +md5sums=('2e44b4593f1644df6f2314aa037aae8b') + +#curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/hey-mail +build() { + unsquashfs -force -dest root $SNAPNAME +} + +package() { + install -d "$pkgdir/usr/bin" + install -d "$pkgdir/opt/hey-mail" + install -d "$pkgdir/usr/share/applications" + cp -r root/* "$pkgdir/opt/hey-mail" + rm -rf "$pkgdir/opt/hey-mail/usr" + rm -rf "$pkgdir/opt/hey-mail/gnome-platform" + rm -rf "$pkgdir/opt/hey-mail/lib" + rm -rf "$pkgdir/opt/hey-mail/libvulkan.so" + rm -rf "$pkgdir/opt/hey-mail/libGLESv2.so" + rm -rf "$pkgdir/opt/hey-mail/libEGL.so" + ln -s /opt/hey-mail/hey-mail "$pkgdir/usr/bin/hey-mail" + cp root/meta/gui/hey-mail.desktop "$pkgdir/usr/share/applications/" +} |