diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | cxltx-styles.install | 3 |
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 |