1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.co>
3 # Contributor: dale <dale@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc='Utility to extract, test and view the contents of archives created with the ARJ archiver'
10 url='http://www.arjsoftware.com/'
14 source=("https://src.fedoraproject.org/repo/pkgs/${pkgname}/${pkgname}-${pkgver}.tar.gz/c6fe45db1741f97155c7def322aa74aa/${pkgname}-${pkgver}.tar.gz"
16 sha512sums=('747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7'
17 '89a2a8ed1bfbbb30ed32a55b30a5d98c1f58233603de1c1c1a6756bdae1258e810f2d0f386961bee606c31e38558dda4868c522c0c60c5ce0061ab31a97f29cb')
20 cd "${pkgname}-${pkgver}"
21 sed 's|CFLAGS =|CFLAGS +=|' -i Makefile
22 sed 's|-o unarj|$(LDFLAGS) -o unarj|' -i Makefile
26 cd "${pkgname}-${pkgver}"
31 cd "${pkgname}-${pkgver}"
32 install -Dm 755 unarj -t "${pkgdir}/usr/bin"
33 install -Dm 644 *.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
34 install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"