[arch-commits] CVS update of extra/office/aspell (PKGBUILD aspell.install)

Jan de Groot jgc at archlinux.org
Wed Sep 19 20:26:50 UTC 2007


    Date: Wednesday, September 19, 2007 @ 16:26:50
  Author: jgc
    Path: /home/cvs-extra/extra/office/aspell

Modified: PKGBUILD (1.24 -> 1.25) aspell.install (1.2 -> 1.3)

upgpkg: aspell 0.60.5-2
Fix dependencies, clean up


----------------+
 PKGBUILD       |   19 ++++++++++---------
 aspell.install |   12 ++----------
 2 files changed, 12 insertions(+), 19 deletions(-)


Index: extra/office/aspell/PKGBUILD
diff -u extra/office/aspell/PKGBUILD:1.24 extra/office/aspell/PKGBUILD:1.25
--- extra/office/aspell/PKGBUILD:1.24	Fri Dec 22 12:58:58 2006
+++ extra/office/aspell/PKGBUILD	Wed Sep 19 16:26:50 2007
@@ -1,23 +1,24 @@
-# $Id: PKGBUILD,v 1.24 2006/12/22 17:58:58 tpowa Exp $
+# $Id: PKGBUILD,v 1.25 2007/09/19 20:26:50 jgc Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at home.nl>
 pkgname=aspell
 pkgver=0.60.5
 _pkgmajorver=0.60
-pkgrel=1
+pkgrel=2
 pkgdesc="A Free and Open Source spell checker designed to eventually replace Ispell"
 arch=(i686 x86_64)
-depends=('gcc' 'ncurses')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+license=('LGPL')
+depends=('gcc-libs' 'ncurses')
+options=(!libtool)
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 install=aspell.install
 url="http://aspell.net/"
 md5sums=('17fd8acac6293336bcef44391b71e337')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${startdir}/src/${pkgname}-${pkgver}
   ./configure --prefix=/usr
-  /usr/bin/make || return 1
-  /usr/bin/make DESTDIR=$startdir/pkg install
-  ln -s $pkgname-$_pkgmajorver $startdir/pkg/usr/lib/$pkgname
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+  make || return 1
+  make DESTDIR=${startdir}/pkg install
+  ln -s ${pkgname}-${_pkgmajorver} ${startdir}/pkg/usr/lib/${pkgname}
 }
Index: extra/office/aspell/aspell.install
diff -u extra/office/aspell/aspell.install:1.2 extra/office/aspell/aspell.install:1.3
--- extra/office/aspell/aspell.install:1.2	Wed Dec  8 16:55:44 2004
+++ extra/office/aspell/aspell.install	Wed Sep 19 16:26:50 2007
@@ -1,16 +1,8 @@
 post_install() {
-	echo "NOTE: aspell comes with no default dictionary"
-}
-
-post_upgrade() {
-   /bin/true
-}
-
-pre_remove() {
-   /bin/true
+  echo "NOTE: aspell comes with no default dictionary"
 }
 
 op=$1
 shift
 
-$op $*
+[ "$(type -t "$op")" = "function" ] && $op "$@"




More information about the arch-commits mailing list