[arch-general] Any suggestions on frequently rebuilding a git package?
XeCycle
xecycle at gmail.com
Tue Sep 20 09:25:04 EDT 2011
Lukas Fleischer <archlinux at cryptocrack.de> writes:
> On Tue, Sep 20, 2011 at 06:02:21PM +0800, XeCycle wrote:
[...]
>> >> Well, this is my PKGBUILD-git.proto:
>> >>
>> >> 43 #
>> >> 44 # BUILD HERE
>> >> 45 #
>> >> 46 ./autogen.sh
>> >> 47 ./configure --prefix=/usr
>> >> 48 make
>> >>
>> >> Do you mean commenting 46 & 47?
>> >
>> > ----
>> > $ sed -n '47,48p' /usr/share/pacman/PKGBUILD-git.proto
>> > rm -rf "$srcdir/$_gitname-build"
>> > git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
>> > ----
>> >
>> > You should upgrade abs to 2.4.3-1.
>>
>> $ LC_ALL=C pacman -Qo /usr/share/pacman/PKGBUILD-git.proto
>> /usr/share/pacman/PKGBUILD-git.proto is owned by abs 2.4.3-1
>>
>> What's up?
>
> You either modified that file (use `pacman -S abs` to reinstall the
> package in that case) or use a weird editor with weird line numbering.
Oops, I got it. I used `nl', which ignored blank lines.
--
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20110920/50c53d69/attachment.asc>
More information about the arch-general
mailing list