[pacman-dev] [PATCH 1/4] Recommend using "updpkgsums" in PKGBUILD prototypes instead of "makepkg -g"

Allan McRae allan at archlinux.org
Fri Jan 17 06:29:35 EST 2014


On 17/01/14 08:18, Jason St. John wrote:
> Signed-off-by: Jason St. John <jstjohn at purdue.edu>
> ---
>  proto/PKGBUILD-split.proto | 2 +-
>  proto/PKGBUILD.proto       | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
> index f341052..b2832b9 100644
> --- a/proto/PKGBUILD-split.proto
> +++ b/proto/PKGBUILD-split.proto
> @@ -27,7 +27,7 @@ changelog=
>  source=("$pkgbase-$pkgver.tar.gz"
>          "$pkgname-$pkgver.patch")
>  noextract=()
> -md5sums=() #generate with 'makepkg -g'
> +md5sums=() # generate with 'updpkgsums'
>  

We can not do that.  updpkgsums is a contrib/ script so may not be
installed on all systems using pacman/makepkg.

>  prepare() {
>  	cd "$pkgname-$pkgver"
> diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto
> index 8d26c81..479d5e5 100644
> --- a/proto/PKGBUILD.proto
> +++ b/proto/PKGBUILD.proto
> @@ -27,7 +27,7 @@ changelog=
>  source=("$pkgname-$pkgver.tar.gz"
>          "$pkgname-$pkgver.patch")
>  noextract=()
> -md5sums=() #generate with 'makepkg -g'
> +md5sums=() # generate with 'updpkgsums'
>  
>  prepare() {
>  	cd "$pkgname-$pkgver"
> 



More information about the pacman-dev mailing list