[arch-commits] Commit in bash/trunk (PKGBUILD)
Thomas Bächler
thomas at archlinux.org
Wed Aug 26 08:25:58 UTC 2009
Date: Wednesday, August 26, 2009 @ 04:25:58
Author: thomas
Revision: 50416
Convert to usage of srcdir and pkgdir
Modified:
bash/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-08-26 08:23:33 UTC (rev 50415)
+++ PKGBUILD 2009-08-26 08:25:58 UTC (rev 50416)
@@ -27,7 +27,7 @@
fi
build() {
- cd ${startdir}/src/${pkgname}-4.0
+ cd ${srcdir}/${pkgname}-4.0
for p in ../bash40-*; do
[ -e "$p" ] || continue
msg "applying patch ${p}"
@@ -40,18 +40,18 @@
--without-bash-malloc --with-installed-readline \
--bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${pkgdir} install
- install -D -m644 ${startdir}/src/profile.bash ${startdir}/pkg/etc/profile.bash || return 1
- install -D -m644 ${startdir}/src/system.bashrc ${startdir}/pkg/etc/bash.bashrc || return 1
+ install -D -m644 ${srcdir}/profile.bash ${pkgdir}/etc/profile.bash || return 1
+ install -D -m644 ${srcdir}/system.bashrc ${pkgdir}/etc/bash.bashrc || return 1
# for now, bash is our default /bin/sh
- cd ${startdir}/pkg/bin
+ cd ${pkgdir}/bin
ln -s bash sh
- mkdir -p $startdir/pkg/etc/skel/
- install -D -m644 $startdir/src/bashrc $startdir/pkg/etc/skel/.bashrc
- echo ". \$HOME/.bashrc" >$startdir/pkg/etc/skel/.bash_profile
+ mkdir -p ${pkgdir}/etc/skel/
+ install -D -m644 ${srcdir}/bashrc ${pkgdir}/etc/skel/.bashrc
+ echo ". \$HOME/.bashrc" >${pkgdir}/etc/skel/.bash_profile
rm -f ${pkgdir}/usr/share/info/dir
gzip -9 ${pkgdir}/usr/share/info/bash.info
More information about the arch-commits
mailing list