summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0055137c59b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname=texlive-qrcode
+pkgver=1.51
+pkgrel=1
+license=('GPL')
+depends=('texlive-core')
+pkgdesc='Generates QR (Quick ReĀ­sponse) codes in LaTeX'
+url='https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode'
+arch=('any')
+source=("$pkgname-$pkgver.zip::http://mirrors.ctan.org/macros/latex/contrib/qrcode.zip")
+sha256sums=('f26e9c63e547f53e77bdbf79f0bb46378cad6a449686586ba1681f6f5dd92439')
+
+build() {
+ cd qrcode
+ latex qrcode.ins
+}
+
+package() {
+ cd qrcode
+
+ mkdir -p "${pkgdir}/usr/share/texmf/tex/latex/qrcode"
+ cp qrcode.sty "${pkgdir}/usr/share/texmf/tex/latex/qrcode"
+
+ mkdir -p "${pkgdir}/usr/share/doc/texlive-qrcode"
+ cp qrcode.pdf $pkgdir/usr/share/doc/texlive-qrcode
+}