1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
8 pkgdesc="OPTical ARchiver - Codec for encoding data on paper or free software 2D barcode in other words. Optar fits 200kB on an A4 page, then you print it with a laser printer. PaperBack alternative for Linux."
9 url="http://ronja.twibright.com/optar/"
11 arch=('i686' 'x86_64')
12 depends=('imagemagick' 'libpng')
14 "http://ronja.twibright.com/optar.tgz"
15 "optar.300dpi.h" #low res patch for better readability
17 md5sums=('65df0e157acd16dd2383378944cb09d0'
18 '0423fdc1db348e6e3a9107add799086f')
22 cd ${srcdir}/${pkgname}_dist/ || return 1
23 cp -f optar.h optar.600dpi.h #backup
24 mv -f ${srcdir}/optar.300dpi.h optar.h #comment this line for full resolution
25 make clean || return 1
29 mkdir -p ${pkgdir}/usr/bin/
30 cp -f optar ${pkgdir}/usr/bin/
31 cp -f unoptar ${pkgdir}/usr/bin/
32 cp -f pgm2ps ${pkgdir}/usr/bin/
34 mkdir -p ${pkgdir}/usr/share/doc/optar/
35 cp -f README ${pkgdir}/usr/share/doc/optar/
36 cp -f COPYING ${pkgdir}/usr/share/doc/optar/
39 chmod -R 755 ${pkgdir}/usr/bin