[arch-commits] CVS update of arch/build/base/ncurses (PKGBUILD)

Dan McGee dan at archlinux.org
Tue Aug 21 11:35:25 EDT 2007


    Date: Tuesday, August 21, 2007 @ 11:35:25
  Author: dan
    Path: /home/cvs-arch/arch/build/base/ncurses

Modified: PKGBUILD (1.21 -> 1.22)

current/base repo cleaning and organizing

* Add a 'base' group to all packages in the base directory. This may be
  refined later to something like base, base-extra, and base-dev, etc. but
  for now lets just stick with the simple.
* Add licenses to all packages in base that were missing them. Pretty sad when
  40% of our core packages didn't have license lines.
* Fix a few other typos, usage of sf.net mirrors, etc.


----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)


Index: arch/build/base/ncurses/PKGBUILD
diff -u arch/build/base/ncurses/PKGBUILD:1.21 arch/build/base/ncurses/PKGBUILD:1.22
--- arch/build/base/ncurses/PKGBUILD:1.21	Sun Aug 12 12:50:10 2007
+++ arch/build/base/ncurses/PKGBUILD	Tue Aug 21 11:35:25 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.21 2007/08/12 16:50:10 andyrtr Exp $
+# $Id: PKGBUILD,v 1.22 2007/08/21 15:35:25 dan Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=ncurses
 pkgver=5.6
@@ -6,6 +6,8 @@
 pkgdesc="A System V Release 4.0 curses emulation library"
 arch=(i686 x86_64)
 url="http://www.gnu.org/software/ncurses/ncurses.html"
+license=('MIT')
+groups=('base')
 depends=('glibc')
 install=ncurses.install
 source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
@@ -55,4 +57,9 @@
   
   mkdir $startdir/pkg/usr/include/ncursesw
   ln -sf /usr/include/ncurses.h $startdir/pkg/usr/include/ncursesw
+
+  # install license, rip it from the readme
+  cd $startdir/src/$pkgname-$pkgver
+  mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
+  grep -B 100 '$Id: PKGBUILD,v 1.22 2007/08/21 15:35:25 dan Exp $startdir/pkg/usr/share/licenses/$pkgname/license.txt
 }




More information about the arch-commits mailing list