You are not logged in.

#1 2007-12-24 00:29:30

chimaera_felon
Member
From: Lancashire, England
Registered: 2007-12-22
Posts: 8

Problems with sytax in srcpac.conf

Hey guys.

I'm trying to build Emacs, with Info pages, using srcpac. I have succeded in doing this by manually editing the PKGBUILD but would like the advantages that srcpac brings.

However.

I'm struggling with the syntax of srcpac.conf. Here's what I've tried. (Note the correct --infodir=/home/michael addition at the end):

conf_emacsX22.1=('#./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  --localstatedir=/var --mandir=/usr/man --without-sound -with-x-toolkit=gtk#./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  --localstatedir=/var --mandir=/usr/man --without-sound -with-x-toolkit=gtk --infodir=/home/michael#')

Then in a terminal:

srcpac -So emacs

This produces the following error:

/etc/srcpac.conf: line 20: syntax error near unexpected token `'#./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  --localstatedir=/var --mandir=/usr/man --without-sound -with-x-toolkit=gtk#./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  --localstatedir=/var --mandir=/usr/man --without-sound -with-x-toolkit=gtk --infodir=/home/michael#''
/etc/srcpac.conf: line 20: `  --localstatedir=/var --mandir=/usr/man --without-sound -with-x-toolkit=gtk --infodir=/home/michael#')'

I've searched Arch wiki and forum, read the man pages and googled but couldn't find the required information. If someone could help, even just point me in the right direction, I'd appreciate it.

Update: Since writing this post I've just found a way to prevent pacman stripping info pages usings ABS and editing makepkg.conf. However I would still appreciate a little advice or pointers on the required syntax for future reference.

Thanks for taking the time to read this post.
smile

Last edited by chimaera_felon (2007-12-24 12:08:35)

Offline

Board footer

Powered by FluxBB