Date: 2005-06-22 Initial Package Version: 2.9.6 Origin: Miklos Vajna Description: Adds the rodepends() directive to pacman buildscripts. diff -Naur pacman-2.9.6.orig/doc/makepkg.8.in pacman-2.9.6/doc/makepkg.8.in --- pacman-2.9.6.orig/doc/makepkg.8.in 2004-08-04 07:57:17.000000000 +0200 +++ pacman-2.9.6/doc/makepkg.8.in 2005-06-22 21:09:21.000000000 +0200 @@ -303,6 +303,14 @@ to run). Packages in this list should follow the same format as \fIdepends\fP. .TP +.B rodepends \fI(array)\fP +An array of packages that this package depends on to run (ie, not required to +build). Generally \fIrodepends\fP should be avoided in favour of \fIdepends\fP +except where this will create circular dependency chains. (For example building +logrotate doesn't requires to have dcron installed.) Packages in this list +should follow the same format as \fIdepends\fP. + +.TP .B conflicts \fI(array)\fP An array of packages that will conflict with this package (ie, they cannot both be installed at the same time). This directive follows the same format as diff -Naur pacman-2.9.6.orig/scripts/makepkg pacman-2.9.6/scripts/makepkg --- pacman-2.9.6.orig/scripts/makepkg 2005-06-19 15:14:59.000000000 +0200 +++ pacman-2.9.6/scripts/makepkg 2005-06-22 20:52:01.000000000 +0200 @@ -314,7 +314,7 @@ fi unset pkgname pkgver pkgrel pkgdesc url license groups provides md5sums force -unset replaces depends conflicts backup source install build makedepends +unset replaces depends conflicts backup source install build makedepends rodepends umask 0022 if [ ! -f $BUILDSCRIPT ]; then @@ -763,6 +763,9 @@ for it in "${depends[@]}"; do echo "depend = $it" >>.PKGINFO done +for it in "${rodepends[@]}"; do + echo "depend = $it" >>.PKGINFO +done for it in "${conflicts[@]}"; do echo "conflict = $it" >>.PKGINFO done