archrelease: copy trunk to community-any
[ArchLinux/community.git] / syncthing-gtk / trunk / PKGBUILD
blob089615b225452b77d37936556d3064a5190e13a9
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Martin Wimpress <code@flexion.org>
3 # Contributor: kozec <kozec at kozec dot com>
5 pkgname=syncthing-gtk
6 pkgver=0.9.4.4
7 pkgrel=2
8 epoch=1
9 pkgdesc='GTK3 based GUI and notification area icon for Syncthing'
10 arch=('any')
11 url='https://github.com/syncthing/syncthing-gtk'
12 license=('GPL2')
13 depends=('syncthing>=0.14.50' 'gtk3' 'libnotify' 'python2-bcrypt'
14          'python2-cairo' 'python2-dateutil' 'python2-gobject')
15 makedepends=('python2-setuptools')
16 source=($pkgname-$pkgver.tar.gz::https://github.com/syncthing/$pkgname/archive/v$pkgver.tar.gz
17         kde-statusicon.patch)
18 sha256sums=('896ddaaba4ad0b8f090c5a381a28b3da759932314562cdd50ca288543b03ddcc'
19             '109d8c970045e60251fc64865f05322b23a0995ee6725be02905941cb3a1ae0d')
21 prepare() {
22   cd $pkgname-$pkgver
24   # Enable Gtk.StatusIcon in KDE
25   patch -Np1 -i ../kde-statusicon.patch
28 build() {
29   cd $pkgname-$pkgver
30   python2 setup.py build
33 package() {
34   cd $pkgname-$pkgver
35   python2 setup.py install --root="${pkgdir}" --optimize=1