Re: PKGBUILD.proto improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux