blob: fff55ad658e44c4208b9331f60d2db7bb0b8dd75 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=casile-git
pkgdesc="Caleb's SILE publishing toolkit"
pkgver=0.1.0.r52.g90058aa
_branch='master'
pkgrel=1
arch=(any)
url='https://github.com/sile-typesetter/casile/'
license=('LGPL3')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git://github.com/sile-typesetter/${pkgname%-git}.git#branch=$_branch")
sha512sums=('SKIP')
makedepends=('git')
depends=('bc'
'cpdf'
'entr'
'epubcheck'
'git'
'imagemagick'
'inetutils'
'inkscape'
'jq'
'kindlegen'
'lua-colors'
'lua-filesystem'
'lua-yaml'
'm4'
'make'
'moreutils'
'nodejs'
'otf-libertinus'
'pandoc-sile-git'
'pcre'
'pdftk'
'perl-yaml'
'perl-yaml-merge-simple'
'podofo'
'poppler'
'povray'
'python-isbnlib'
'python-pandocfilters'
'python-pantable'
'python-ruamel-yaml'
'python-setuptools' # Make up for yq missing this dep in [community]
'python-usfm2osis-cw-git'
'rsync'
'sile'
'sqlite'
'tex-gyre-fonts'
'texlive-core'
'ttf-hack'
'xcftools'
'yarn'
'yq'
'zint'
'zsh')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package () {
cd "$srcdir/${pkgname%-git}"
mkdir -p "$pkgdir/usr/share"
cp -a ./ "$pkgdir/usr/share/casile"
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|