1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
6 pkgdesc="A front-end for EPSON scanner/all-in-ones"
8 url="http://avasys.jp/eng/linux_driver/"
9 license=('GPL2' 'custom:AVASYSPL')
10 depends=('gtk2' 'iscan-data' 'sane')
11 makedepends=('gettext')
12 conflicts=(${pkgname}-legacy)
13 install=${pkgname}.install
15 source=(http://linux.avasys.jp/drivers/${pkgname}/${pkgver}/${pkgname}_${pkgver}-3.tar.gz)
16 md5sums=('df777c77425cde132ed94c13a47eb8d7')
19 cd "${srcdir}/${pkgname}-${pkgver}"
21 export LDFLAGS="${LDFLAGS} -ldl -lpng14"
23 ./configure --prefix=/usr \
24 --enable-dependency-reduction \
28 --enable-png #--enable-gimp
33 cd "${srcdir}/${pkgname}-${pkgver}"
35 make DESTDIR="${pkgdir}" install
37 # install sane file config
38 install -d -m755 "${pkgdir}/etc/sane.d"
39 install -m644 backend/epkowa.conf "${pkgdir}/etc/sane.d/epkowa.conf"
41 # install desktop file
42 install -d -m755 "${pkgdir}/usr/share/applications"
43 install -m644 "${pkgname}.desktop" \
44 "${pkgdir}/usr/share/applications/${pkgname}.desktop"
47 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
48 install -m644 "${srcdir}/${pkgname}-${pkgver}/non-free/AVASYSPL.en.txt" \
49 "${pkgdir}/usr/share/licenses/${pkgname}/AVASYSPL"
52 # vim:set ts=2 sw=2 et: