On Fri 12 Mar 2010 13:16 +0100, Philipp wrote:
Excerpts from Andrew Antle's message of 2010-03-11 21:39:13 +0100:
Hello -
There is a package named [snd-ls](http://aur.archlinux.org/packages.php?ID=15580) which is orphaned and quite out of date. I would like to adopt it and update it with the following PKGBUILD: --- # Maintainer: Andrew Antle <andrew dot antle at gmail dot com>
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 } ---
Do I need a TU to change the name of the package, and then I'll adopt it and update it? Or should I just upload my PKGBUILD and ask for the old, orphaned one to be deleted?
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()?
Thanks,
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!