[aur-general] PKGBUILD git remote branch issue

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed Nov 7 15:12:15 UTC 2018


On Wed, 2018-11-07 at 15:55 +0100, Ralf Mardorf wrote:
> On Wed, 2018-11-07 at 15:49 +0100, Robin Broda via aur-general wrote:
> > No, it doesn't work because you're breaking your multiline command
> > with the comment line inbetween.
> 
> Good point :D!

I must be missing something else.

[rocketmouse at archlinux claws-mail-gtk3-git]$ grep HOST /usr/src/claws-mail-gtk3-git/PKGBUILD -B1 -A14
	./configure \
		--build=$HOSTTYPE-arch-linux-gnu \
		--prefix=/usr \
		--disable-jpilot \
		--disable-maintainer-mode \
		--disable-manual \
		--disable-static \
		--enable-bogofilter-plugin \
		--enable-crash-dialog \
		--enable-enchant \
		--enable-gnutls \
		--enable-ldap \
		--enable-pgpmime-plugin \
		--enable-silent-rules \
		--enable-spamassassin-plugin
		#--enable-gtk3 \
[rocketmouse at archlinux claws-mail-gtk3-git]$ makepkg -s
==> Making package: claws-mail-gtk3-git 3.17.0-1 (Wed 07 Nov 2018 03:57:57 PM CET)
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: claws-mail-gtk3-git 3.16.0.r463.g04185a6e4-1
==> Starting build()...




Now it builds, but seemingly the wrong version.




make: *** [Makefile:558: all] Interrupt

==> ERROR: Aborted by user! Exiting...

[rocketmouse at archlinux claws-mail-gtk3-git]$ cd claws-mail/
[rocketmouse at archlinux claws-mail]$ git describe --abbrev=0 --tags
3.17.0
[rocketmouse at archlinux claws-mail]$ git rev-parse --short HEAD
f4607b4b6
[rocketmouse at archlinux claws-mail]$ cd ..
[rocketmouse at archlinux claws-mail-gtk3-git]$ sudo rm -Ir claws-mail/ pkg/ src/
[sudo] password for rocketmouse: 
rm: remove 3 arguments recursively? y
[rocketmouse at archlinux claws-mail-gtk3-git]$ ls
PKGBUILD
[rocketmouse at archlinux claws-mail-gtk3-git]$ makepkg -s
[snip]
config.status: creating po/Makefile

claws-mail 3.16.0git463

Using Address Book : Original stable interface
JPilot             : no
LDAP               : yes
gnuTLS             : yes
iconv              : yes
compface           : yes
IPv6               : yes
enchant            : yes
IMAP4              : yes
NNTP               : yes
Crash dialog       : yes
LibSM              : yes
DBUS               : yes
NetworkManager     : yes
Manual             : no
Generic UMPC code  : no
SVG support        : yes
Config dir         : .claws-mail
Password crypto    : gnutls
Unit tests         : no
[snip]
==> Finished making: claws-mail-gtk3-git 3.16.0.r463.g04185a6e4-1 (Wed 07 Nov 2018 04:07:39 PM CET)


More information about the aur-general mailing list