[arch-commits] CVS update of extra/lib/pil (PKGBUILD)

Travis Willard travis at archlinux.org
Wed Aug 1 02:31:35 UTC 2007


    Date: Tuesday, July 31, 2007 @ 22:31:35
  Author: travis
    Path: /home/cvs-extra/extra/lib/pil

Modified: PKGBUILD (1.4 -> 1.5)

Added license field


----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


Index: extra/lib/pil/PKGBUILD
diff -u extra/lib/pil/PKGBUILD:1.4 extra/lib/pil/PKGBUILD:1.5
--- extra/lib/pil/PKGBUILD:1.4	Mon Feb 12 17:47:52 2007
+++ extra/lib/pil/PKGBUILD	Tue Jul 31 22:31:35 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.4 2007/02/12 22:47:52 simo Exp $
+# $Id: PKGBUILD,v 1.5 2007/08/01 02:31:35 travis Exp $
 # Maintainer: simo <simo at archlinux.org>
 pkgname=pil
 pkgver=1.1.6
@@ -6,6 +6,7 @@
 pkgdesc="Python imaging library"
 arch=(i686 x86_64)
 url="http://www.pythonware.com/products/pil/index.htm"
+license=('custom:"pil"')
 depends=('python' 'libjpeg' 'tk' 'freetype2')
 source=(http://www.pythonware.net/storage/Imaging-$pkgver.tar.gz)
 md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
@@ -16,5 +17,9 @@
   python setup.py install --root=$startdir/pkg
   mkdir -p $startdir/pkg/usr/include/python2.4/
   cp libImaging/*.h $startdir/pkg/usr/include/python2.4/
+
+  # Install license
+  install -m644 -D $startdir/src/Imaging-$pkgver/README \
+                   $startdir/pkg/usr/share/licenses/pil/README
 }
 




More information about the arch-commits mailing list