Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36428 - [makepkg] pkgver can not work if follow PKGBUILD-git.proto

Attached to Project: Arch Linux
Opened by Daniel YC Lin (dlin) - Tuesday, 06 August 2013, 02:33 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 06 August 2013, 03:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I'm trying follow the /usr/share/pacman/PKGBUILD-git.proto in abs to improve lxc-docker-git's PKGBUILD. But, the PKGBUILD-git.proto let pkgver() can not work. Because when pkgver() is called, before the data source code pulled from git.

When I refer the original lxc-docker-git use this method instead of following git.proto, and it let pkgver() function works.

source=('docker::git+https://github.com/dotcloud/docker.git' 'docker.service')↲
md5sums=('SKIP' '3fec35d152fb0b7303919ca76ab9df50')↲


It is require to modify the PKGBUILD-git.proto, or enhance makepkg to let pkgver() workable.

Additional info:
* package version(s)

/usr/bin/makepkg is owned by pacman 4.1.2-1


* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 06 August 2013, 03:07 GMT
Reason for closing:  Duplicate
Additional comments about closing:  has nothing to do with makepkg, and there's various patches which already exist against ABS (where this proto file is kept)

Loading...