diff options
author | Bastien Traverse | 2017-06-02 22:57:21 +0200 |
---|---|---|
committer | Jakob Gahde | 2017-06-06 15:43:35 +0200 |
commit | 03a3e5b392227af01bf7dbb92b6ca4ee3b5644a8 (patch) | |
tree | 0219186957cb860b39d17f970cebd7b835e61784 | |
parent | dc16c570e98ab5c42338c8fa390941b2af30660c (diff) | |
download | aur-03a3e5b392227af01bf7dbb92b6ca4ee3b5644a8.tar.gz |
commit 402c885a2ff5ca897cc9bb1203b44751abf22426
Enable multiple languages in the interface + PKGBUILD updates
- depends: remove qt5-base (pulled in by qt5-webkit) and markdown (no need
for it because Sundown converter is included), move hunspell to optdepends
- makedepends: create the array with qt5-tools (needed for multiple
languages support, provides lrelease) and hunspell (needed during build)
- optdepends: create array with the different converters supported for
extra functionalities and hunspell
- install CREDITS, README and COPYING files from source tarball into
/usr/share/doc/$pkgname/
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 33 insertions, 7 deletions
@@ -1,18 +1,24 @@ # Generated by mksrcinfo v8 -# Wed May 17 21:23:19 UTC 2017 +# Fri Jun 2 20:57:02 UTC 2017 pkgbase = ghostwriter pkgdesc = A cross-platform, aesthetic, distraction-free Markdown editor pkgver = 1.5.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/wereturtle/ghostwriter arch = i686 arch = x86_64 license = GPL3 - depends = qt5-base + makedepends = qt5-tools + makedepends = hunspell depends = qt5-webkit - depends = hunspell - depends = markdown depends = hicolor-icon-theme + optdepends = multimarkdown: For alternative converter, superset of Markdown with various output formats + optdepends = pandoc: For Pandoc supported Markdown flavors and export to various formats + optdepends = cmark: For processing and rendering CommonMark + optdepends = hunspell: For spell checking + provides = ghostwriter + conflicts = ghostwriter + conflicts = ghostwriter-git source = https://github.com/wereturtle/ghostwriter/archive/v1.5.0.tar.gz md5sums = 46788d672481f9750293eb71eced35b7 @@ -1,20 +1,30 @@ # Maintainer: Jakob Gahde <j5lx@fmail.co.uk> +# Contributor: Bastien "neitsab" Traverse <firstname [at] lastname [dot] email> +# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com> # Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu> pkgname=ghostwriter pkgver=1.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-platform, aesthetic, distraction-free Markdown editor" arch=('i686' 'x86_64') url="https://github.com/wereturtle/ghostwriter" license=('GPL3') -depends=('qt5-base' 'qt5-webkit' 'hunspell' 'markdown' 'hicolor-icon-theme') +depends=('qt5-webkit' 'hicolor-icon-theme') +makedepends=('qt5-tools' 'hunspell') +optdepends=('multimarkdown: For alternative converter, superset of Markdown with various output formats' + 'pandoc: For Pandoc supported Markdown flavors and export to various formats' + 'cmark: For processing and rendering CommonMark' + 'hunspell: For spell checking') +provides=('ghostwriter') +conflicts=('ghostwriter' 'ghostwriter-git') source=("https://github.com/wereturtle/ghostwriter/archive/v${pkgver}.tar.gz") md5sums=('46788d672481f9750293eb71eced35b7') build() { cd "${srcdir}/${pkgname}-${pkgver}" + lrelease translations/ghostwriter_*.ts qmake PREFIX=/usr make } @@ -23,4 +33,14 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make install INSTALL_ROOT="${pkgdir}" + + # Doc files + install -Dm644 CREDITS.md \ + "${pkgdir}/usr/share/doc/${pkgname}/CREDITS.md" + install -Dm644 README.md \ + "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + # License for resources + install -Dm644 resources/COPYING \ + "${pkgdir}/usr/share/doc/${pkgname}/COPYING" } |