Date: Tuesday, February 22, 2011 @ 15:13:47 Author: bisson Revision: 110875
various cleanup Modified: scim-anthy/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-22 20:13:44 UTC (rev 110874) +++ PKGBUILD 2011-02-22 20:13:47 UTC (rev 110875) @@ -1,22 +1,27 @@ # $Id$ -# Maintainer: damir <[email protected]> +# Contributor: damir <[email protected]> +# Maintainer: Gaetan Bisson <[email protected]> pkgname=scim-anthy pkgver=1.2.7 -pkgrel=1 +pkgrel=2 _filecode=37309 -pkgdesc="Japanese Anthy input method module for SCIM" -arch=("i686" "x86_64") -url="http://sourceforge.jp/projects/scim-imengine/" +pkgdesc='Japanese input method module for SCIM' +arch=('i686' 'x86_64') +url='http://sourceforge.jp/projects/scim-imengine/' license=('GPL') -depends=('scim>=1.4.8' 'anthy>=9100h') +depends=('scim' 'anthy') options=('!libtool') -source=(http://osdn.dl.sourceforge.jp/scim-imengine/$_filecode/$pkgname-$pkgver.tar.gz) -md5sums=('8d06bfd46839c771401b9f176be8818f') +source=("http://osdn.dl.sourceforge.jp/scim-imengine/${_filecode}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('1429cf202f5cdcfc4733220acbe27dd9edb75db8') 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 +}
