[arch-commits] Commit in groff/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 7 20:11:37 UTC 2019
Date: Monday, October 7, 2019 @ 20:11:36
Author: arojas
Revision: 364070
Fix quoting
Modified:
groff/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 20:10:17 UTC (rev 364069)
+++ PKGBUILD 2019-10-07 20:11:36 UTC (rev 364070)
@@ -25,7 +25,7 @@
'af59ecde597ce9f8189368a7739279a5f8a391139fe048ef6b4e493ed46e5f5f')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure \
--prefix=/usr \
@@ -35,23 +35,23 @@
}
check() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make check
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
# add compatibility symlinks
- ln -s eqn $pkgdir/usr/bin/geqn
- ln -s tbl $pkgdir/usr/bin/gtbl
- ln -s soelim $pkgdir/usr/bin/zsoelim
+ ln -s eqn "$pkgdir"/usr/bin/geqn
+ ln -s tbl "$pkgdir"/usr/bin/gtbl
+ ln -s soelim "$pkgdir"/usr/bin/zsoelim
# FS33760 - TERMCAP variables not followed
# TODO: everyone is doing this - find out why upstream does not...
- cat $srcdir/site.tmac >> \
- $pkgdir/usr/share/groff/site-tmac/man.local
- cat $srcdir/site.tmac >> \
- $pkgdir/usr/share/groff/site-tmac/mdoc.local
+ cat "$srcdir"/site.tmac >> \
+ "$pkgdir"/usr/share/groff/site-tmac/man.local
+ cat "$srcdir"/site.tmac >> \
+ "$pkgdir"/usr/share/groff/site-tmac/mdoc.local
}
More information about the arch-commits
mailing list