1 # Contributor: Marq Schneider <queueRAM@gmail.com>
6 pkgdesc="Perforce Visual Client"
8 url="http://www.perforce.com"
12 source=(http://www.perforce.com/downloads/perforce/r${pkgver:2:4}/bin.linux26${CARCH/i6/x}/${pkgname}.tgz
15 md5sums=('3636e90531db5cbc04620c97ad2f30cc'
16 'dafeaf5f26ee1758d3801b5448752789'
17 '016c4c23753b808659f46bad3d7352aa')
19 [ "$CARCH" = "x86_64" ] && \
20 md5sums=('2a35902f8699cdb813e8097207c34c84'
21 'dafeaf5f26ee1758d3801b5448752789'
22 '016c4c23753b808659f46bad3d7352aa')
25 mkdir -p ${pkgdir}/usr/bin
26 install -D -m 644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
27 cp -R ${srcdir}/${pkgname}-${pkgver}/lib ${pkgdir}/usr/
28 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/${pkgname} ${pkgdir}/usr/bin/${pkgname}
29 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}.bin ${pkgdir}/usr/bin/${pkgname}.bin
30 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/p4merge ${pkgdir}/usr/bin/p4merge
31 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/p4merge.bin ${pkgdir}/usr/bin/p4merge.bin
32 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/p4admin ${pkgdir}/usr/bin/p4admin
33 install -m 755 -D ${srcdir}/${pkgname}-${pkgver}/bin/p4admin.bin ${pkgdir}/usr/bin/p4admin.bin
34 install -m 644 -D ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
37 # vim:set ts=2 sw=2 et: