1 # Maintainer: Matias De la Puente <mfpuente.ar@gmail.com>
6 pkgdesc="A compiler for the PIC microcontroller"
8 url="http://www.casadeyork.com/jalv2/"
13 source=("http://www.casadeyork.com/jalv2/archive/${_pkgname}src.zip" 'jalv2.patch')
14 sha256sums=('4f467f6dbea916c913a5f0d96b57cc1d02958600abd4cfa487339a2b1892c337'
15 'e2d0dc74b80b5591ba11167a07ea1948b80b72e6e08cc0db633315b1e258ec35' )
18 cd "${srcdir}/${_pkgname}"
20 patch -Np1 -i "${srcdir}/jalv2.patch"
23 cd "${srcdir}/${_pkgname}/src"
28 cd "${srcdir}/${_pkgname}"
30 install -Dm755 "bin/jalv2" "${pkgdir}/usr/bin/jalv2"
33 install -dm755 "${pkgdir}/usr/share/${pkgname}/chipdef"
34 install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/chipdef/" ${srcdir}/${_pkgname}/chipdef/*
36 # install documentation
37 install -dm755 "${pkgdir}/usr/share/${pkgname}/doc"
38 install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/doc" Documentation/*
40 # install custom license
41 install -Dm644 "Documentation/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"