summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-04-15 07:05:54 +0200
committerJudd Vinet <judd@archlinux.org>2004-04-15 07:05:54 +0200
commit4cb6a179b3b23fff7208628438d59783e9e65dfc (patch)
treefd3094ad328f188085c9e74e5a351ddfc82b621e /scripts
parentd7c17ff1ccf5ff1c5297545b0fad858e6a116492 (diff)
downloadpacman-4cb6a179b3b23fff7208628438d59783e9e65dfc.tar.gz
pacman-4cb6a179b3b23fff7208628438d59783e9e65dfc.tar.xz
Imported from pacman-2.7.7.tar.gz
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gensync9
-rwxr-xr-xscripts/makepkg7
-rwxr-xr-xscripts/makeworld4
3 files changed, 12 insertions, 8 deletions
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 <jvinet@zeroflux.org>
+# Copyright (c) 2002-2004 by Judd Vinet <jvinet@zeroflux.org>
#
# 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 <root> <destfile>"
+ echo "usage: $0 <root> <destfile> [package_directory]"
echo
echo "gensync will generate a sync database by reading all PKGBUILD files"
echo "from <root>. gensync builds the database in /tmp/.gensync and then"
echo "compresses it to <destfile>."
echo
+ echo "gensync will calculate md5sums of packages in <destdir>, unless an"
+ echo "alternate [package_directory] is specified."
+ echo
echo "note: The <destfile> 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 <jvinet@zeroflux.org>
+# Copyright (c) 2002-2004 by Judd Vinet <jvinet@zeroflux.org>
#
# 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 <jvinet@zeroflux.org>
+# Copyright (c) 2002-2004 by Judd Vinet <jvinet@zeroflux.org>
#
# 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"