summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino2017-09-06 21:00:53 +0200
committerAndrea Scarpino2017-09-06 21:00:53 +0200
commit13140aba0656dd1491d2b8158e7aacc8f882aa46 (patch)
treef4b68154bbaf651dea5d6b8ab87a8668b605c18d
downloadaur-13140aba0656dd1491d2b8158e7aacc8f882aa46.tar.gz
First
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b30c62c2fbd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed Sep 6 19:00:46 UTC 2017
+pkgbase = texlive-qrcode
+ pkgdesc = Generates QR (Quick ReĀ­sponse) codes in LaTeX
+ pkgver = 1.51
+ pkgrel = 1
+ url = https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode
+ arch = any
+ license = GPL
+ depends = texlive-core
+ source = texlive-qrcode-1.51.zip::http://mirrors.ctan.org/macros/latex/contrib/qrcode.zip
+ sha256sums = f26e9c63e547f53e77bdbf79f0bb46378cad6a449686586ba1681f6f5dd92439
+
+pkgname = texlive-qrcode
+
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
+}