blob: 89b5e76740e49c9d302a9ed87d33fab99951f209 (
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
|
# Maintainer: Salamandar <felix@piedallu.me>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org>
# Contributor: kozec <kozec at kozec dot com>
_pkgname=syncthing-gtk
pkgname=syncthing-gtk-python3
pkgver=0.9.4.5
pkgrel=2
pkgdesc='GTK3 based GUI and notification area icon for Syncthing. Python 3 port with Debian sources.'
arch=('any')
# url='https://salsa.debian.org/debian/syncthing-gtk'
url='https://github.com/Salamandar/syncthing-gtk'
license=('GPL2')
conflicts=( 'syncthing-gtk' )
depends=(
'syncthing>=0.14.50' 'gtk3' 'libnotify'
'python-bcrypt' 'python-cairo' 'python-dateutil' 'python-gobject'
)
makedepends=('python-setuptools' 'git')
source=(
$pkgname-$pkgver.tar.gz::https://github.com/salamandar/syncthing-gtk/archive/v$pkgver.tar.gz
kde-statusicon.patch
)
sha256sums=(
'19d234b3a4514420cf123ae1b477590684e11dd54b7fa208c0b19e9dccf2c465'
'109d8c970045e60251fc64865f05322b23a0995ee6725be02905941cb3a1ae0d'
)
prepare() {
cd "${_pkgname}-${pkgver}"
# Enable Gtk.StatusIcon in KDE
patch -Np1 -i ../kde-statusicon.patch
}
build() {
cd "${_pkgname}-${pkgver}"
python3 setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python3 setup.py install --root="$pkgdir" --optimize=1
}
|