summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonian2023-03-08 16:22:31 +0200
committerjonian2023-03-08 16:22:31 +0200
commit559321b8994bdeb8f3159b166d121ddc46e038bb (patch)
tree3c790dabc269bfec131b73c6b8758eb4afdf6b41
downloadaur-559321b8994bdeb8f3159b166d121ddc46e038bb.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD17
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d0682c7203a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = wkhtmltox-bin
+ pkgdesc = Convert HTML to PDF and various image formats using QtWebkit
+ pkgver = 0.12.6
+ pkgrel = 3
+ url = https://wkhtmltopdf.org
+ arch = x86_64
+ license = LGPL3
+ optdepends = xorg-server: wkhtmltox needs X or Xvfb to operate
+ provides = wkhtmltopdf
+ provides = wkhtmltoimage
+ conflicts = wkhtmltox
+ conflicts = wkhtmltox-git
+ conflicts = wkhtmltopdf
+ conflicts = wkhtmltopdf-git
+ source = wkhtmltox-bin-0.12.6.pkg::https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-3/wkhtmltox-0.12.6-3.archlinux-x86_64.pkg.tar.xz
+ sha256sums = e84c2ef2c3d16eabd85a3dbb98195062910dfa66febca4f8ea58eb7445317242
+
+pkgname = wkhtmltox-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..16d6296b3fbd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: Jonian Guveli <https://github.com/jonian/>
+pkgname=wkhtmltox-bin
+pkgver=0.12.6
+pkgrel=3
+pkgdesc="Convert HTML to PDF and various image formats using QtWebkit"
+arch=("x86_64")
+url="https://wkhtmltopdf.org"
+license=("LGPL3")
+provides=("wkhtmltopdf" "wkhtmltoimage")
+conflicts=("wkhtmltox" "wkhtmltox-git" "wkhtmltopdf" "wkhtmltopdf-git")
+optdepends=("xorg-server: wkhtmltox needs X or Xvfb to operate")
+source=("$pkgname-$pkgver.pkg::https://github.com/wkhtmltopdf/packaging/releases/download/${pkgver}-${pkgrel}/wkhtmltox-${pkgver}-${pkgrel}.archlinux-x86_64.pkg.tar.xz")
+sha256sums=('e84c2ef2c3d16eabd85a3dbb98195062910dfa66febca4f8ea58eb7445317242')
+
+package() {
+ mv usr "$pkgdir"
+}