You are not logged in.
Hey guys,
I'm updating the UFR2 PKGBUILD in the AUR to v1.80 using the source compilation, however, there are a couple files placed into non-standard locations (/usr/local/) when using the suggested build sequence in the README. So I'm wondering, should I simply move these files to their proper location in /usr, or take a more hands-on approach and compile each individual component separately as done in this Slacky build script http://repository.slacky.eu/slackware-1 … SlackBuild? Btw, the package name is cndrvcups-common because the package has been split into two.
# Contributor: Steven S <mintcoffee@gmail.com>
pkgname=cndrvcups-common
pkgver=1.80
pkgrel=1
pkgdesc="Common printer driver modules for Canon printers"
arch=('i686')
url="http://support-au.canon.com.au/contents/AU/EN/0100093001.html"
license=('custom')
depends=('libcups' 'cairo' 'freetype2' 'gtk2')
makedepends=('rpmextract')
source=('http://www.service.canon.com.au/drivers/files/ufr2linuxv180.zip')
options=('!emptydirs')
md5sums=('cc9e10655b42a0c19195c79d38e4d326')
build() {
cd $srcdir/ufr2linuxv180/Sources
tar xf ${pkgname}-${pkgver}-1.tar.gz || return 1
#tar xf cndrvcups-lb-1.80-1.tar.gz || return 1
cd $pkgname-$pkgver
make gen || return 1
make DESTDIR=${pkgdir} install || return 1
#install LICENSE
mkdir -p $startdir/pkg/usr/licenses/$pkgname/
install -Dm644 LICENSE-common-${pkgver}E.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}Last edited by mintcoffee (2011-08-29 01:40:28)
Arch on a Thinkpad T400s
Offline
Actually, looking at the Makefile, make gen was a pretty simple set of commands to build all the components. I've placed the common component PKGBUILD in the AUR http://aur.archlinux.org/packages.php?ID=22934 here if you're interested. The rest of the UFR2 package is coming soon.
Arch on a Thinkpad T400s
Offline