summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorghesy2023-02-14 18:49:21 +0330
committerghesy2023-02-14 18:49:21 +0330
commit1a4e07eda64cce20591268c90e8e4514e8a6c8e7 (patch)
treeb8e765acc5a2c620aabf2d609474367528fc0c2c /PKGBUILD
parent88f51831cbd08901e34c52d38fe1535ff123ea7d (diff)
downloadaur-1a4e07eda64cce20591268c90e8e4514e8a6c8e7.tar.gz
remove the unneeded optdepend "icu48"
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a72232fdd55..a660dc892317 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,22 +5,25 @@
_name=wkhtmltopdf
pkgname=${_name}-static
-pkgver=0.12.6.1_r2
-pkgrel=2
+
+_version=0.12.6.1-2
+pkgver=${_version%-*}_r${_version##*-}
+pkgrel=3
+
pkgdesc='Shell utility to convert HTML to PDF using Webkit and Qt (upstream static build)'
url='https://github.com/wkhtmltopdf/packaging'
license=('GPL3')
+
provides=("$_name")
conflicts=("$_name")
+
depends=(
'bzip2' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'glibc' 'glib2'
'graphite' 'harfbuzz' 'libjpeg6-turbo' 'libpng' 'libx11' 'libxau'
'libxcb' 'libxcrypt' 'libxdmcp' 'libxext' 'libxrender' 'openssl-1.1'
'pcre' 'zlib'
)
-optdepends=(
- 'icu48: Rendering from HTML uses unicode character encoding'
-)
+
# debian packages are already stripped, so don't bother re-attempting
options=('!strip')
@@ -34,7 +37,6 @@ options=('!strip')
# Stretch 2017
#
_release='bullseye'
-_version=${pkgver%_*}-${pkgver##*r}
_source=(
"${_name}-${_version}-@ARCH@.deb::${url}/releases/download/${_version}/wkhtmltox_${_version}.${_release}_@SRCARCH@.deb"
)