summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2019-09-14 10:46:52 -0400
committerGuillaume Horel2019-09-14 10:46:52 -0400
commit2ad43cfabc0ea537fa9f0aec5a3da468529d4d7d (patch)
tree4ae37169091d455b97fd9b26465765770acf2e8b
parentb6cf28d082843ac6542ff8752835076b30de7fbc (diff)
downloadaur-2ad43cf.tar.gz
add info doc
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b31ddbd68cf..75825c6a06a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,7 +37,7 @@ prepare() {
build() {
cd "$srcdir/$_pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure --prefix='/usr' \
--libexecdir=/usr/bin \
--with-gihdir=/usr/share/gnuplot \
--disable-wxwidgets \
@@ -45,7 +45,8 @@ build() {
--with-x \
--with-readline=gnu \
--with-texdir=/usr/share/texmf/tex/latex/gnuplot \
- --with-kpsexpand
+ --with-kpsexpand \
+ --infodir="$pkgdir/usr/share/info"
make pkglibexecdir=/usr/bin
}
@@ -53,8 +54,8 @@ build() {
package() {
cd "$srcdir/$_pkgname-$pkgver"
make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install
-
- install -Dm644 Copyright "$pkgdir/usr/share/licenses/$_pkgname/Copyright"
+ make install-info
+ install -Dm644 Copyright "$pkgdir/usr/share/licenses/$_pkgname/Copyright"
rm -f "$pkgdir/usr/share/texmf-dist/ls-R"
}