summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSLeitgeb2019-02-05 17:35:08 +0100
committerSLeitgeb2019-02-05 17:35:08 +0100
commitbbeb644f784b0ab58a0f992f4840f9cf2ed38a25 (patch)
treefe02ad506cef4b401edcc7a8707cf88ebda4aa31
downloadaur-cxltx-styles.tar.gz
Initial release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
-rw-r--r--cxltx-styles.install3
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d0e83f58eafe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = cxltx-styles
+ pkgdesc = A (hopefully) sensible collection of basic XeLaTeX style sheets.
+ pkgver = 1.4.7
+ pkgrel = 1
+ url = https://github.com/loveencounterflow/cxltx-styles
+ install = cxltx-styles.install
+ arch = any
+ license = unknown
+ makedepends = git
+ depends = texlive-core
+ provides = cxltx-styles
+ source = https://github.com/loveencounterflow/cxltx-styles/archive/v1.4.7.tar.gz
+ md5sums = 3eef6349554666cda7ec47e2cd1391a7
+
+pkgname = cxltx-styles
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..95f64f6c2b42
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Šimon Leitgeb <leitgeb.simon at gmail dot com>
+
+pkgname=cxltx-styles
+pkgver=1.4.7
+pkgrel=1
+pkgdesc="A (hopefully) sensible collection of basic XeLaTeX style sheets."
+arch=('any')
+url="https://github.com/loveencounterflow/cxltx-styles"
+license=('unknown')
+groups=()
+depends=('texlive-core')
+makedepends=('git')
+provides=($pkgname)
+install="$pkgname.install"
+source=("https://github.com/loveencounterflow/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=("3eef6349554666cda7ec47e2cd1391a7")
+
+# pkgver() {
+# cd "$srcdir/$pkgname-$pkgver"
+# git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
+# }
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/styles"
+ install -d "$pkgdir/usr/share/texmf/tex/latex/$pkgname"
+ install -m644 *.sty "$pkgdir/usr/share/texmf/tex/latex/$pkgname"
+ for dir in $(ls -d */); do
+ install -d "$pkgdir/usr/share/texmf/tex/latex/$pkgname/$dir"
+ install -m644 $dir/*.sty "$pkgdir/usr/share/texmf/tex/latex/$pkgname/$dir"
+ done
+}
diff --git a/cxltx-styles.install b/cxltx-styles.install
new file mode 100644
index 000000000000..bb7644821500
--- /dev/null
+++ b/cxltx-styles.install
@@ -0,0 +1,3 @@
+post_install() {
+ texhash
+} \ No newline at end of file