You are not logged in.
This PKGBUILD has a '#' character in its URL field. By quoting the value or \-escaping the character, I can get the local package field to include the correct URL, but if I submit this to AUR, either the URL displayed on the package page is truncated, or it breaks the parser and the following line (license) isn't recognised. Here's the PKGBUILD:
# Maintainer: Joseph Lansdowne <J49137@gmail.com>
pkgname=ytsubs
pkgver=0.2.3
pkgrel=1
pkgdesc="Make an RSS feed from YouTube subscriptions"
arch=(any)
url='http://ikn.org.uk/Scripts#ytsubs'
license=(GPL3)
depends=(python2-gdata)
source=(http://ikn.org.uk/files/scripts/$pkgname)
md5sums=('aa1a4b8810a4630c0efb59863883a4d9')
package () {
mkdir -p "$pkgdir/usr/bin/"
install -m755 "$srcdir/$pkgname" "$pkgdir/usr/bin/"
}
%-encoding the character won't work - any ideas?
Last edited by J. (2013-05-07 22:41:39)
Offline
Sounds like an AUR bug to me.
Offline
He, who uses # in URL in the first place, should be banned from the internet.
Offline
I shouldn't use # for an anchor?
Offline
Don't worry, the URL is perfectly valid.
Offline
Maybe you can try URL encoding.. not sure if it'll work:
url="http://ikn.org.uk/Scripts%23ytsubs"
Edit: Nevermind, missed the last line of your post
My guess is that the AUR just parses everything between a hash and a newline as a comment.
Last edited by tdy (2013-05-06 18:11:41)
Offline
Have you tried using an .AURINFO file?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hmm. I put a file .AURINFO next to PKGBUILD containing
url = http://ikn.org.uk/Scripts#ytsubs
and then ran makepkg -S. I unpacked the resulting archive and it doesn't contain the .AURINFO file anywhere.
Offline
why would you expect it to? Either put it in the source array or tar it yourself.
Online
Ah, of course. That's worked perfectly; thanks.
Offline