Date: Tuesday, June 15, 2010 @ 00:05:25
  Author: allan
Revision: 82618

fix $startdir usage

Modified:
  attr/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-06-14 17:46:10 UTC (rev 82617)
+++ PKGBUILD    2010-06-15 04:05:25 UTC (rev 82618)
@@ -17,15 +17,15 @@
 sha256sums=('e01fa00686072a02dddf994e6217be950f51c1dc0852ad2e210c48b6e8de793a')
 
 build() {
-  cd $startdir/src/attr-$pkgver 
+  cd $srcdir/attr-$pkgver 
   autoconf
   ./configure --prefix=/usr 
   sed -i -e 's/man2//g' man/Makefile
   make || return 1 
-  make prefix=${startdir}/pkg/usr install install-lib install-dev
+  make prefix=${pkgdir}/usr install install-lib install-dev
 
   # tidy up
-  cd "${startdir}/pkg"
+  cd "${pkgdir}"
 
   mkdir -v lib
   mv -v usr/lib/libattr.so* lib/

Reply via email to