On Sat, Feb 09, 2013 at 02:13:41PM -0500, Limao Luo wrote: > On 02/09/2013 06:36 AM, Johannes Löthberg wrote: > >On 02/09/2013 03:33 AM, Third3ye wrote: > >>The AUR package "aspell-nb" doesn't build, is outdated and most > >>likely abandoned. I suggest to either remove it or orphan it so > >>that I can replace the PKGBUILD with an edited version that > >>actually builds: > >> > >>pkgname=aspell-nb _pkgname=aspell-no pkgver=0.50 pkgrel=2 > >>pkgdesc="Norwegian Bokmål dictionary for aspell" > >>url="http://aspell.net/" license="GPL" depends=('aspell') > >>arch=('i686' 'x86_64') > >>source=(ftp://ftp.gnu.org/gnu/aspell/dict/nb/${_pkgname}-${pkgver}-${pkgrel}.tar.bz2) > >> > >> md5sums=('b24b20ad02ce2a569f71f949b48823cc') > >> > >>build() { cd $startdir/src/${_pkgname}-${pkgver}-${pkgrel} > >>./configure /usr/bin/make || return 1 /usr/bin/make > >>DESTDIR=$startdir/pkg install } > >> > >>Please let advise if this PKGBUILD isn't following AUR guidelines. > >> > >>Thank you. > >Just a small note, pkgrel is the arch specific release number of a > >package's specific version, so you shouldn't use it in the source URL. > >What you currently have in the pkgrel (2) actually belong in pkgver > >(0.50-2) > > You can't use hyphens in the pkgver; makepkg won't accept it as valid.
You are also only supposed to use ${foo} when it helps make updating
easier. This could easily work against that. Just make it a number, or
have a _pkgver variable that you use in the URL if you need that.
--
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078 CFF2 45E8 1E72 6D5A 8653 CDF5 E7A5 E99A 7F0F
pgpy_T_T7jZdw.pgp
Description: PGP signature
