Date: Tuesday, February 22, 2011 @ 15:14:12 Author: bisson Revision: 110880
various cleanup Modified: scim-chewing/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-22 20:14:09 UTC (rev 110879) +++ PKGBUILD 2011-02-22 20:14:12 UTC (rev 110880) @@ -1,25 +1,28 @@ # $Id$ -# Maintainer: damir <[email protected]> +# Contributor: damir <[email protected]> # Contributor: whisky <archlinux.cle(at)gmail.com> +# Maintainer: Gaetan Bisson <[email protected]> pkgname=scim-chewing pkgver=0.3.3 -pkgrel=1 -pkgdesc="SCIM Smart Chewing input method engine" -arch=(i686 x86_64) -url="http://chewing.csie.net/" -license=("GPL") -depends=('scim>=1.4.8' 'libchewing>=0.3.2') +pkgrel=2 +pkgdesc='Traditional Chinese input method module for SCIM' +arch=('i686' 'x86_64') +url='http://chewing.csie.net/' +license=('GPL') +depends=('scim' 'libchewing') makedepends=('intltool') options=('!libtool') -source=(http://chewing.csie.net/download/scim/$pkgname-$pkgver.tar.bz2) -md5sums=('3f17ccae3f20f42a33e464aeb06eb1cb') +source=("http://chewing.csie.net/download/scim/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('346d9a1511cfbb1025c0290d5a97a799329cb24e') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr --disable-static || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-static + make } - +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}
