1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: dsa <dsa@unilestemg.br>
3 # Conributer: gerbra <gerbra@derbrauer.homelinux.net>
4 # Conributer: Joker-jar <joker-jar@yandex.ru>
9 pkgdesc="ncpfs allows you to mount volumes of NetWare servers under Linux."
10 arch=('i686' 'x86_64')
12 depends=('linux>=3.0.0')
13 url="http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/"
14 source=("http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz" 'ncpfs-2.2.6-gcc4.patch' 'ncpfs-2.2.6-missing-includes.patch' 'linux3.0_uname.patch')
15 md5sums=('a9ab9f135d504440202069393dd9eb36'
16 '092609494c8d03e8a2272dea609a3e48'
17 '32d09b12bc780ed127254de4ac9b82a2'
18 'e3e3c7c148fff31162175af02f8111a7')
21 cd $startdir/src/$pkgname-$pkgver
23 # Patch from gentoo folks to make it compile with gcc4
25 patch -Np1 < ../ncpfs-2.2.6-gcc4.patch
26 patch -Np1 < ../ncpfs-2.2.6-missing-includes.patch
27 patch -Np1 <../linux3.0_uname.patch
28 ./configure --prefix=/usr --mandir=/usr/share
30 make DESTDIR=$startdir/pkg install