summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74b4cbc93b3804a6656d2e61e5be6902ac23a44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=whatsie
pkgver=2.0.20
pkgrel=0
pkgdesc="A simple & beautiful desktop client for WhatsApp Web."
arch=('x86_64')
url="https://whatsie.chat/"
license=('MIT')
depends=('desktop-file-utils' 'gconf' 'gtk2' 'gvfs' 'hicolor-icon-theme' 'libgudev' 'libgcrypt' 'libnotify' 'libxtst' 'nss' 'python' 'xdg-utils' 'libcap' )
optdepends=('hunspell: spell check' )
options=('!docs' '!emptydirs')
install=$pkgname.install
source=("https://dl.bintray.com/aluxian/aur/dist/whatsie-2.0.20-linux-amd64.deb")
validpgpkeys=('6DDA23616E3FE905FFDA152AE61DA9241537994D')
md5sums=('4f0080a3a8f5edd8a22f59cbb1ea28f3')
package() {
  msg2 "Extracting the data.tar.gz..."
  bsdtar -xf data.tar.gz -C "$pkgdir/"

  # Link to the binary
  msg2 "Creating symlink..."
  mkdir -p "$pkgdir/usr/bin/"
  ln -s /opt/whatsie/whatsie "$pkgdir/usr/bin/whatsie"
}