[arch-commits] Commit in isdn4k-utils/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:23:52 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:23:51
Author: arojas
Revision: 364189
Fix quoting
Modified:
isdn4k-utils/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 20:22:28 UTC (rev 364188)
+++ PKGBUILD 2019-10-08 20:23:51 UTC (rev 364189)
@@ -24,31 +24,31 @@
prepare() {
CPPFLAGS="$CPPFLAGS -O2"
- cd $srcdir/$pkgname
- patch -Np1 -i $srcdir/gnu89-inline.patch
- patch -Np1 -i $srcdir/va_list.patch
- cp $srcdir/config ./.config
+ cd $pkgname
+ patch -Np1 -i "$srcdir"/gnu89-inline.patch
+ patch -Np1 -i "$srcdir"/va_list.patch
+ cp "$srcdir"/config ./.config
cd capiinfo
aclocal
automake --add-missing
autoreconf
- cd $srcdir/$pkgname
+ cd "$srcdir"/$pkgname
cd capifax
aclocal
automake --add-missing
autoreconf
- cd $srcdir/$pkgname
+ cd "$srcdir"/$pkgname
make subconfig
}
build() {
- cd $srcdir/$pkgname
+ cd $pkgname
PERL_USE_UNSAFE_INC=1 make
}
package() {
- cd $srcdir/$pkgname
- install -dm755 $pkgdir/usr/bin
- make DESTDIR=$pkgdir install
- chmod 755 $pkgdir/usr/bin/*
+ cd $pkgname
+ install -dm755 "$pkgdir"/usr/bin
+ make DESTDIR="$pkgdir" install
+ chmod 755 "$pkgdir"/usr/bin/*
}
More information about the arch-commits
mailing list