--- PKGBUILD.orig 2005-02-25 06:44:29.000000000 +0100 +++ PKGBUILD 2005-05-18 11:57:41.000000000 +0200 @@ -3,7 +3,7 @@ # Maintainer: Jason Chu pkgname=zope -pkgver=2.7.4 +pkgver=2.7.6 pkgrel=1 pkgdesc="An application server" url="http://zope.org" @@ -11,18 +11,19 @@ conflicts=() backup=() install= -source=(http://www.zope.org/Products/Zope/$pkgver/Zope-$pkgver-0.tgz) -md5sums=('97c310f1de4609956c176588b08b25c5') +source=(http://www.zope.org/Products/Zope/$pkgver/Zope-$pkgver-final.tgz) +md5sums=('f781d13a0cc917e517d4521270691394') + build() { - cd $startdir/src/Zope-$pkgver-0 + cd $startdir/src/Zope-$pkgver-final # python setup.py install --home=/opt/zope --root=$startdir/pkg # ./configure --prefix=$startdir/pkg/opt/zope --with-python=/usr/bin/python --no-compile -# sed -i "s#--home=\"\${PREFIX}\"#--home=\"$startdir/pkg/opt/zope\"#" $startdir/src/Zope-$pkgver-0/inst/Makefile.in +# sed -i "s#--home=\"\${PREFIX}\"#--home=\"$startdir/pkg/opt/zope\"#" $startdir/src/Zope-$pkgver-final/inst/Makefile.in chmod -R go+r * ./configure --prefix=/opt/zope --with-python=/usr/bin/python # Added this so that zope doesn't try to make a symlink in /usr/bin - sed -i 's#${LN} ${PYTHON} ${PREFIX}/bin/python#true#' $startdir/src/Zope-$pkgver-0/makefile + sed -i 's#${LN} ${PYTHON} ${PREFIX}/bin/python#true#' $startdir/src/Zope-$pkgver-final/makefile make || exit 1 mkdir -p $startdir/pkg/opt/zope/bin # Added this to make the symlink that zope had wanted to make