summarylogtreecommitdiffstats
path: root/generateAur.sh
blob: f9583396cbb8405daaae9628a3ee46c840fa9f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
pkgver=2.0.14
pkgrel=1
echo "# Maintainer: Michael Latman <mlatman@gmail.com>
pkgname=whatsie
pkgver=$pkgver
pkgrel=$pkgrel
epoch=
pkgdesc=\"A simple & beautiful desktop client for WhatsApp Web.\"
arch=('any')
url=\"https://whatsie.chat\"
license=('MIT')
groups=()
depends=(\"dpkg\")
makedepends=()
checkdepends=()
optdepends=('lsb-release')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=\".INSTALL\"
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()
package(){
wget \"https://github.com/Aluxian/Whatsie/releases/download/v\$pkgver/whatsie-\$pkgver-linux-amd64.deb\" -P build_step/
dpkg -x \"build_step/whatsie-\$pkgver-linux-amd64.deb\" \"\$pkgdir/\"

}
md5sums=()" > PKGBUILD


echo "pkgname = whatsie
pkgver = $pkgver
pkgdesc = A simple & beautiful desktop client for WhatsApp Web.
url = https://whatsie.chat
builddate = 1460577681
packager = whatsie
arch = x86_64
size = 140662880
license = MIT
backup = etc/xdg/autostart/whatsie.desktop
depend = bash-completion
depend = desktop-file-utils
depend = gconf
depend = gtk2
depend = gvfs
depend = hicolor-icon-theme
depend = libcap
depend = libgcrypt
depend = libgcrypt11
depend = libnotify
depend = libsystemd
depend = libxtst
depend = nss
depend = xdg-utils
optdepend = gir1.2-gnomekeyring-1.0
optdepend = libgnome-keyring
optdepend = lsb-release" > .PKGINFO

echo "pkgbase = whatsie
	pkgver = $pkgver
	pkgrel = $pkgrel
	arch = any
	license = MIT
	depends = dpkg
pkgname = whatsie" > .SRCINFO

git add -A
git commit -m "Release $pkgver PackageRel $pkgrel"
git push AUR master
yaourt -S whatsie