diff options
author | haawda | 2018-03-21 22:25:13 +0100 |
---|---|---|
committer | haawda | 2018-03-21 22:25:13 +0100 |
commit | 9e8d03b3a439bf5e1af97214d0e3bf5aa245d112 (patch) | |
tree | af7caee2a9bd4edecc8c959897fbf4925263df8b | |
parent | 648d4a87c317d708f68b0cc1f98390c19b279fec (diff) | |
download | aur-9e8d03b3a439bf5e1af97214d0e3bf5aa245d112.tar.gz |
split package
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 13 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = latex2e-help-texinfo pkgdesc = Inofficial LaTeX2e Reference Manual in info format pkgver = 2017_08_06 - pkgrel = 1 + pkgrel = 2 url = https://ctan.org/pkg/latex2e-help-texinfo arch = any license = custom @@ -10,3 +10,5 @@ pkgbase = latex2e-help-texinfo pkgname = latex2e-help-texinfo +pkgname = latex2e-help-texinfo-es + @@ -1,8 +1,9 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -pkgname='latex2e-help-texinfo' #'latex2e-help-texinfo-es' +pkgbase=latex2e-help-texinfo +pkgname=('latex2e-help-texinfo' 'latex2e-help-texinfo-es') pkgver=2017_08_06 -pkgrel=1 +pkgrel=2 pkgdesc="Inofficial LaTeX2e Reference Manual in info format" url="https://ctan.org/pkg/latex2e-help-texinfo" arch=('any') @@ -10,9 +11,14 @@ license=('custom') source=("http://mirrors.ctan.org/info/$pkgname.zip") md5sums=('bf8eddfbdcdc778ebee1a38bd37a0dfd') -package() { - cd "$srcdir/$pkgname" +package_latex2e-help-texinfo() { + cd $pkgname install -Dm644 latex2e.info "$pkgdir"/usr/share/info/latex2e.info install -Dm644 README "$pkgdir"/usr/share/licenses/$pkgname/license } +package_latex2e-help-texinfo-es() { + cd ${pkgname%-es}/spanish + install -Dm644 latex2e-es.info "$pkgdir"/usr/share/info/latex2e-es.info +} + |