Date: Tuesday, February 9, 2010 @ 15:59:30 Author: dgriffiths Revision: 67940
Move to splitpkg format Modified: speedcrunch/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-02-09 20:59:08 UTC (rev 67939) +++ PKGBUILD 2010-02-09 20:59:30 UTC (rev 67940) @@ -1,25 +1,28 @@ -# $Id$ -# Maintainer: # Contributor: Ronald van Haren <ronald.archlinux.org> +# Maintainer: Daniel J Griffiths <ghost1...@archlinux.us> pkgname=speedcrunch pkgver=0.10.1 pkgrel=2 pkgdesc="Simple but powerful calculator using Qt" +arch=('i686' 'x86_64') url="http://speedcrunch.org/" -arch=('i686' 'x86_64') +license=('GPL2') depends=('qt') makedepends=('cmake') -license=('GPL2') -source=(http://speedcrunch.googlecode.com/files/$pkgname-$pkgver.tar.gz) +source=(http://speedcrunch.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) md5sums=('344ee1303b05502d28c58a2fff1ca6b2') build() { - cd $srcdir/$pkgname-$pkgver/src - cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1 - make || return 1 + cd ${srcdir}/${pkgname}-${pkgver}/src + cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1 + make || return 1 - # fix make install issue - lrelease speedcrunch.pro - make DESTDIR=$pkgdir install + # fix make install issue + lrelease speedcrunch.pro } + +package() { + cd ${srcdir}/${pkgname}-${pkgver}/src + make DESTDIR=${pkgdir} install +}