summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoop Kiefte2018-12-21 01:56:34 +0100
committerJoop Kiefte2018-12-21 01:56:34 +0100
commite2376959ac83c71524eadc1cd526391b87e1194e (patch)
tree281aa8900cdedddf2f6917a497e970433031020f
parent2f35cd8864bef81c3cf0711c01eb3d163d1335fd (diff)
downloadaur-e2376959ac83c71524eadc1cd526391b87e1194e.tar.gz
Add optional dependencies
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 607af198ea70..86de3d877342 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,10 @@ pkgbase = ruby-textplay-git
license = custom:textplay
makedepends = git
depends = ruby
+ optdepends = ttf-courier-prime: To print screenplays in the expected font
+ optdepends = python-weasyprint: To create a PDF version from the output (Recommended)
+ optdepends = python2-weasyprint: Python 2 version of the above
+ optdepends = princexml: The PDF package textplay was written for, commercial - free version creates watermark
provides = ruby-textplay
conflicts = ruby-textplay
source = ruby-textplay::git+https://github.com/olivertaylor/Textplay
diff --git a/PKGBUILD b/PKGBUILD
index f60660c06d58..883c2c7146ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,10 @@ 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 (Recommended)'
+ 'python2-weasyprint: Python 2 version of the above'
+ 'princexml: The PDF package textplay was written for, commercial - free version creates watermark')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install=