blob: a19fa74b44314c27a8d31acf39addb0234044792 (
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
|
# Contributor: Paul Moffat <aur@paulmoffat.net>
# Contributor: Silvio Fricke <silvio.fricke@gmail.com>
# Contributor: Florian Pritz <bluewind@xinu.at>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Radu Potop <radu@wooptoo.com>
projname=zim-desktop-wiki
pkgname=zim-git
pkgver=0.75.2.79.ga637
pkgrel=1
pkgdesc="Zim desktop wiki. Git version"
arch=(any)
license=('GPL-2.0-or-later')
url="https://zim-wiki.org/"
conflicts=('zim')
provides=('zim')
depends=('python' 'python-gobject' 'ttf-font' 'gtk3' 'python-xdg')
checkdepends=('xorg-server-xvfb' 'python-setuptools')
makedepends=('git' 'python-setuptools')
optdepends=('breezy: Version Control plugin'
'bzr: Version Control plugin'
'git: Version Control plugin'
'mercurial: Version Control plugin'
'gnuplot: Insert Gnuplot plugin'
'ditaa: Insert Ditaa plugin'
'graphviz: Insert Diagram plugin'
'xdot: Link Map plugin'
'gtkspell3: Spell Checker plugin'
'r: Insert GNU R Plot plugin'
'scrot: Insert Screenshot plugin'
'lilypond: Insert Score plugin'
'gtksourceview3: Source View plugin'
'texlive-bin: Insert Equation plugin')
source=("git+https://github.com/$projname/$projname.git#branch=develop")
sha256sums=('SKIP')
pkgver() {
cd "$projname"
git describe --abbrev=4 --always --tags | sed 's/-/./g'
}
check() {
cd "${srcdir}/${projname}"
xvfb-run -w0 ./test.py --ff
}
package() {
cd "${srcdir}/${projname}"
python setup.py install --root="${pkgdir}" --optimize=1
install -dm755 "$pkgdir/usr/share/icons/"
cp -r xdg/hicolor/ "$pkgdir/usr/share/icons/"
}
|