[aur-general] Request to remove/orphan the AUR package "aspell-nb"

William Giokas 1007380 at gmail.com
Fri Feb 8 22:00:07 EST 2013


On Sat, Feb 09, 2013 at 03:33:30AM +0100, 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:
> 
Alright, time to go on a quick run down of how this pkgbuild is outdated
as heck:
> 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')
pretty much okay. till here.
> 
> build() {
>        cd $startdir/src/${_pkgname}-${pkgver}-${pkgrel}
DO NOT USE $startdir. It it outdated and breaks on peoples systems that
have a BUILDDIR specified.
>        ./configure
>        /usr/bin/make || return 1
Don't do this. Makepkg will do this itself. These || return 1 things are
totally unneeded.
>        /usr/bin/make DESTDIR=$startdir/pkg install
Again, more startdir. Also, this should be part of a package() function,
nto a build function. And in pacman 4.1, the $pkgdir is made
unread/writeable before the package function is called (Allan, correct
me if this is just your working branch) so calling $pkgdir (or
$startdir/pkg) will just fail if it's called before a `package()`.
> }

Here's what I'd make it look like: 

pkgname=aspell-nb
pkgver=0.50.1
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}-0.tar.bz2)
md5sums=('b24b20ad02ce2a569f71f949b48823cc')

build() {
  cd $srcdir/${pkgname}-${pkgver}-0
  ./configure
  make
}
package() {
  cd $srcdir/${pkgname}-${pkgver}-0
  make DESTDIR=$pkgdir install
}

And that builds fine.

ps: next time give us the errors you got when trying to build this.

Thanks,
-- 
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078 CFF2 45E8 1E72 6D5A  8653 CDF5 E7A5 E99A 7F0F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20130208/449d9970/attachment.asc>


More information about the aur-general mailing list