1 # Contributor: Imanol Celaya <ilcra1989@gmail.com>
7 pkgdesc="4L: LaCie LightScribe Labeler for Linux"
9 url="http://www.lacie.com/products/product.htm?pid=10803"
12 depends=('gcc' 'libxi' 'fontconfig' 'libxinerama' 'libxcursor' 'libxrandr' 'lightscribe')
13 makedepends=('rpmextract')
14 source=(http://www.lacie.com/download/drivers/$_realname.i586.rpm)
15 md5sums=('11fc8b2daeaed2b61a567056413bdefd')
19 rpmextract.sh 4L-1.0-r6.i586.rpm 2> /dev/null
20 mkdir -p $startdir/pkg/{opt,usr/bin}
21 cp -R usr/4L $startdir/pkg/opt
22 cd $startdir/pkg/usr/bin
23 ln -s ../../opt/4L/4L-cli 4L-cli
24 ln -s ../../opt/4L/4L-gui 4L-gui
25 find $startdir/pkg/opt -type d -exec chmod 755 {} \;
26 chmod -x $startdir/pkg/opt/4L/*/*
27 chmod +s $startdir/pkg/opt/4L/4L-cli