[arch-commits] CVS update of arch/build/base/zlib (PKGBUILD)
Dan McGee
dan at archlinux.org
Tue Aug 21 15:35:47 UTC 2007
Date: Tuesday, August 21, 2007 @ 11:35:47
Author: dan
Path: /home/cvs-arch/arch/build/base/zlib
Modified: PKGBUILD (1.18 -> 1.19)
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 | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: arch/build/base/zlib/PKGBUILD
diff -u arch/build/base/zlib/PKGBUILD:1.18 arch/build/base/zlib/PKGBUILD:1.19
--- arch/build/base/zlib/PKGBUILD:1.18 Wed Jul 11 09:57:16 2007
+++ arch/build/base/zlib/PKGBUILD Tue Aug 21 11:35:47 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.18 2007/07/11 13:57:16 dan Exp $
+# $Id: PKGBUILD,v 1.19 2007/08/21 15:35:47 dan Exp $
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=zlib
pkgver=1.2.3
@@ -7,6 +7,7 @@
arch=(i686 x86_64)
license=('custom:zlib')
url="http://www.gzip.org/zlib"
+groups=('base')
depends=('glibc')
source=(http://www.zlib.net/zlib-$pkgver.tar.gz)
md5sums=('debc62758716a169df9f62e6ab2bc634')
@@ -33,4 +34,8 @@
mv -v "$startdir"/pkg/usr/lib/libz.so.* "$startdir"/pkg/lib/
chmod 644 "$startdir"/pkg/lib/*
ln -svf ../../lib/libz.so.1 "$startdir"/pkg/usr/lib/libz.so
+
+ # license, ripped out of the README file
+ mkdir -p "$startdir/pkg/usr/share/licenses/$pkgname"
+ grep -A 100 '^Copyright' README > "$startdir/pkg/usr/share/licenses/$pkgname/license.txt"
}
More information about the arch-commits
mailing list