[arch-general] PKGBUILD.proto improvements
Rogutės Sparnuotos
rogutes at googlemail.com
Thu Jul 21 18:08:41 EDT 2011
C Anthony Risinger (2011-07-21 16:42):
> ... the motivation of this message is to encourage adding some
> routines to the makepkg library, similar to msg/msg2/warning/etc, to
> handle development checkouts. basically i see people using _gitroot
> and _gitname for different stuff ... namely _gitname. i'd like to see
> a routine that pulls the repo to a known location so it doenst get
> blown away every update, and so the user doesnt have to manually
> manage this. everyone does it differently, puts the repository in all
> sorts of different locations/etc, and it just isnt very pretty IMO.
<snip>
I am sure you didn't ask, but I use $SRCDEST/scm for this, do not define
sources=() and run this in build():
cp -r "$SRCDEST/scm/$pkgname" "$srcdir/"
--
-- Rogutės Sparnuotos
More information about the arch-general
mailing list