[arch-general] Any suggestions on frequently rebuilding a git package?
Lukas Fleischer
archlinux at cryptocrack.de
Tue Sep 20 06:22:58 EDT 2011
On Tue, Sep 20, 2011 at 06:02:21PM +0800, XeCycle wrote:
> Lukas Fleischer <archlinux at cryptocrack.de> writes:
>
> [...]
>
> >> > 2. Comment line 47 and 48 (PKGBUILD-git.proto), uncomment if you want a
> >> > clean build.
> >>
> >> 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.
More information about the arch-general
mailing list