[arch-commits] Commit in cvsps/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Aug 16 18:35:43 UTC 2009


    Date: Sunday, August 16, 2009 @ 14:35:43
  Author: jgc
Revision: 49846

upgpkg: cvsps 2.1-2
    Simplify prefix installation, fix manpath

Modified:
  cvsps/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-16 18:31:36 UTC (rev 49845)
+++ PKGBUILD	2009-08-16 18:35:43 UTC (rev 49846)
@@ -3,21 +3,17 @@
 
 pkgname=cvsps
 pkgver=2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Generating 'patchset' information from a CVS repository."
 url="http://www.cobite.com/cvsps/"
-license="GPL"
+license=('GPL')
+arch=('x86_64' 'i686')
 depends=('zlib')
-makedepends=()
-backup=()
-source=(http://www.cobite.com/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(http://www.cobite.com/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('bde2110ed9f5d14de8f8cb04e9d596fe')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  sed -e "s#prefix?=/usr/local#prefix?=$startdir/pkg/usr#" -i Makefile
-  sed -e "s#/share##g" -i Makefile
-  make || return 1
-  make install
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make prefix=/usr || return 1
+  make prefix="${pkgdir}/usr" install || return 1
 }
-
-md5sums=('bde2110ed9f5d14de8f8cb04e9d596fe')




More information about the arch-commits mailing list