blob: c88c7afddc42bc02b36eb0d8bb5170f8d52e9e8b (
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
|
# Maintainer: Joop Kiefte <joop@kiefte.net>
pkgname=ruby-textplay-git
pkgver=r88.eb06aa6
pkgrel=1
pkgdesc="Convert fountain screenplays to Final Draft and HTML format, and convert HTML to PDF."
arch=('any')
url="https://www.olivertaylor.net/"
license=('custom:textplay')
depends=('ruby')
makedepends=('git')
optdepends=('ttf-courier-prime: To print screenplays in the expected font'
'python-weasyprint: To create a PDF version from the output'
'princexml: The PDF package textplay was written for, commercial - free version creates watermark')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('ruby-textplay::git+https://github.com/olivertaylor/Textplay')
md5sums=('SKIP')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE"
install -Dm755 textplay "$pkgdir/usr/bin/textplay"
}
|