From 4cb6a179b3b23fff7208628438d59783e9e65dfc Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Thu, 15 Apr 2004 05:05:54 +0000 Subject: Imported from pacman-2.7.7.tar.gz --- scripts/gensync | 9 ++++++--- scripts/makepkg | 7 ++++--- scripts/makeworld | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'scripts') diff --git a/scripts/gensync b/scripts/gensync index dd7e50a1..e7c7724c 100755 --- a/scripts/gensync +++ b/scripts/gensync @@ -2,7 +2,7 @@ # # gensync # -# Copyright (c) 2002-2003 by Judd Vinet +# Copyright (c) 2002-2004 by Judd Vinet # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,16 +20,19 @@ # USA. # -myver='2.7.5' +myver='2.7.7' usage() { echo "gensync $myver" - echo "usage: $0 " + echo "usage: $0 [package_directory]" echo echo "gensync will generate a sync database by reading all PKGBUILD files" echo "from . gensync builds the database in /tmp/.gensync and then" echo "compresses it to ." echo + echo "gensync will calculate md5sums of packages in , unless an" + echo "alternate [package_directory] is specified." + echo echo "note: The name is important. It must be of the form" echo " {treename}.db.tar.gz where {treename} is the name of the custom" echo " package repository you configured in /etc/pacman.conf. The" diff --git a/scripts/makepkg b/scripts/makepkg index f28da232..d53bdd17 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -2,7 +2,7 @@ # # makepkg # -# Copyright (c) 2002-2003 by Judd Vinet +# Copyright (c) 2002-2004 by Judd Vinet # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ # USA. # -myver='2.7.5' +myver='2.7.7' startdir=`pwd` USE_COLOR="n" @@ -290,7 +290,7 @@ if [ "$CLEANCACHE" = "1" ]; then fi fi -unset pkgname pkgver pkgrel pkgdesc url groups provides md5sums +unset pkgname pkgver pkgrel pkgdesc url license groups provides md5sums unset replaces depends conflicts backup source install build makedepends umask 0022 @@ -607,6 +607,7 @@ echo "pkgname = $pkgname" >>.PKGINFO echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO echo "pkgdesc = $pkgdesc" >>.PKGINFO echo "url = $url" >>.PKGINFO +echo "license = $license" >>.PKGINFO echo "builddate = $builddate" >>.PKGINFO echo "packager = $packager" >>.PKGINFO echo "size = $size" >>.PKGINFO diff --git a/scripts/makeworld b/scripts/makeworld index 67c58ec2..1e6c7e6b 100755 --- a/scripts/makeworld +++ b/scripts/makeworld @@ -2,7 +2,7 @@ # # makeworld # -# Copyright (c) 2002-2003 by Judd Vinet +# Copyright (c) 2002-2004 by Judd Vinet # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ # toplevel=`pwd` -version="2.7.5" +version="2.7.7" usage() { echo "makeworld version $version" -- cgit v1.2.3-24-g4f1b