[arch-commits] Commit in figlet/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Fri Jan 14 15:20:05 EST 2011


    Date: Friday, January 14, 2011 @ 15:20:05
  Author: eric
Revision: 106150

upgpkg: figlet 2.2.3-1
Upstream update, Updated license to BSD, Added sh depends, PKGBUILD clean up

Modified:
  figlet/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-14 19:37:32 UTC (rev 106149)
+++ PKGBUILD	2011-01-14 20:20:05 UTC (rev 106150)
@@ -1,26 +1,26 @@
 # $Id$
-# Maintainer: eric <eric at archlinux.org>
-# Contributor: orelien <orelien at chez.com>
+# Maintainer: Eric Belanger <eric at archlinux.org>
 
 pkgname=figlet
-pkgver=2.2.2
-pkgrel=2
-pkgdesc="FIGlet is a program for making large letters out of ordinary text"
+pkgver=2.2.3
+pkgrel=1
+pkgdesc="A program for making large letters out of ordinary text"
 arch=('i686' 'x86_64')
 url="http://www.figlet.org/"
-license=('custom:Academic')
-depends=('glibc')
-source=(ftp://ftp.figlet.org/pub/figlet/program/unix/$pkgname${pkgver//./}.tar.gz)
-md5sums=('5f84ad52d092d5db4ad5916df767646b')
+license=('BSD')
+depends=('glibc' 'sh')
+source=(ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${pkgver}.tar.gz)
+md5sums=('c9e49dc83efc59070a00313b936002bf')
+sha1sums=('e4c3c279d2747e0e2d80d11b9baf4e548f72e515')
 
 build() {
-  cd $srcdir/$pkgname${pkgver//./}
-  make DEFAULTFONTDIR=/usr/share/figlet/fonts all || return 1
-  install -d $pkgdir/usr/{bin,share/man/man6,share/figlet/fonts} || return 1
-  make install \
-    DESTDIR=$pkgdir/usr/bin \
-    MANDIR=$pkgdir/usr/share/man/man6 \
-    DEFAULTFONTDIR=$pkgdir/usr/share/figlet/fonts || return 1
-  install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
-  chmod 755 $pkgdir/usr/bin/{figlist,showfigfonts}
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DEFAULTFONTDIR=/usr/share/figlet/fonts all
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" BINDIR=/usr/bin MANDIR=/usr/share/man \
+    DEFAULTFONTDIR=/usr/share/figlet/fonts install 
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list