On Fri, Mar 12, 2010 at 10:41 AM, Loui Chang <louipc.ist@gmail.com> wrote:
On Fri 12 Mar 2010 13:16 +0100, Philipp wrote:
Excerpts from Andrew Antle's message of 2010-03-11 21:39:13 +0100:
pkgname=snd-gtk-jack _pkgname=snd pkgver=11.3 pkgrel=1 pkgdesc="A sound editor, with GTK+ and JACK enabled" arch=('i686' 'x86_64') license=('custom') depends=('fftw' 'gamin' 'gsl' 'gtk2' 'jack' 'ladspa') url="http://ccrma.stanford.edu/software/snd/" source=(ftp://ccrma-ftp.stanford.edu/pub/Lisp/$_pkgname-$pkgver.tar.gz) md5sums=('71168f92e77a14f80c6bcf5c1dd3df26')
build() { cd $srcdir/$_pkgname-$pkgver
./configure --prefix=/usr --with-gtk --with-jack make || return 1 make prefix=$pkgdir/usr install
rm -f $pkgdir/usr/share/$_pkgname/*.{fs,rb} install -D -m 644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE }
P.S. The manpage is being installed -rwx-r-x-r-x, but in the tarball it's -rw-r--r--. How can I fix this? Should I chmod it at the end of build()?
You can probably sed or patch the Makefile if it's doing something wrong. I have to do that quite often.
Don't forget to send your patches upstream!
Hello Philipp and Loui - I set $doit to echo: /bin/install -c snd /home/andrew/projects/PKGBUILDS/snd-gtk-jack/pkg/usr/bin/snd /bin/install -c ./snd.1 /home/andrew/projects/PKGBUILDS/snd-gtk-jack/pkg/usr/share/man/man1 snd-gtk-jack-> ls -l pkg/usr/share/man/man1/ total 4 -rwxr-xr-x 1 andrew wheel 637 Mar 12 12:37 snd.1.gz* Should be '-rw-r--r--'. install-sh is installing the man page with the same command and the same permissions as the snd executable. I'm not exactly sure how to patch this. I could use a `chmod -x snd.1.gz` in the PKGBUILD, but that doesn't seem right. Thanks, -- Andrew Antle <andrew dot antle at gmail dot com>