summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-03-21 22:25:13 +0100
committerhaawda2018-03-21 22:25:13 +0100
commit9e8d03b3a439bf5e1af97214d0e3bf5aa245d112 (patch)
treeaf7caee2a9bd4edecc8c959897fbf4925263df8b
parent648d4a87c317d708f68b0cc1f98390c19b279fec (diff)
downloadaur-9e8d03b3a439bf5e1af97214d0e3bf5aa245d112.tar.gz
split package
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 328ea6aa6147..e14dbd9c534b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
+
diff --git a/PKGBUILD b/PKGBUILD
index 4fc3f17e97ea..258bc59434bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}
+