Date: Tuesday, February 22, 2011 @ 15:11:47
  Author: bisson
Revision: 110860

various cleanup

Modified:
  anthy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-02-22 19:18:55 UTC (rev 110859)
+++ PKGBUILD    2011-02-22 20:11:47 UTC (rev 110860)
@@ -1,27 +1,27 @@
 # $Id$
 # Contributor: damir <[email protected]>
-# Maintainer: Daniel J Griffiths <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+# Maintainer: Gaetan Bisson <[email protected]>
 
 pkgname=anthy
 pkgver=9100h
 _filecode=37536
-pkgrel=1
+pkgrel=2
 pkgdesc='Hiragana text to Kana Kanji mixed text Japanese input method'
 arch=('i686' 'x86_64')
 url='http://sourceforge.jp/projects/anthy/'
 license=('LGPL' 'GPL')
-depends=('glibc')
-options=('!libtool' 'force')
+options=('!libtool')
 
source=("http://downloads.sourceforge.jp/anthy/${_filecode}/${pkgname}-${pkgver}.tar.gz";)
-md5sums=('1f558ff7ed296787b55bb1c6cf131108')
+sha1sums=('bfea9e74e208c4b976b6bd7ac6784cd290c636fd')
 
 build() {
-       cd ${srcdir}/${pkgname}-${pkgver}
-       ./configure --prefix=/usr --sysconfdir=/etc || return 1
-       make EMACS=emacs sysconfdir=/etc || return 1
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure --prefix=/usr --sysconfdir=/etc --disable-static
+       make
 }
 
 package() {
-       cd ${srcdir}/${pkgname}-${pkgver}
-       make EMACS=emacs DESTDIR=${pkgdir} install || return 1
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make EMACS=emacs DESTDIR="${pkgdir}" install
 }

Reply via email to