updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / p4v / PKGBUILD
blobe32935b4ad47b5450c6b15957d3d7b4024be07b3
1 # Contributor: Marq Schneider <queueRAM@gmail.com>
3 pkgname=p4v
4 pkgver=2010.2.334844
5 pkgrel=1
6 pkgdesc="Perforce Visual Client"
7 arch=('i686' 'x86_64')
8 url="http://www.perforce.com"
9 license=('custom:p4v')
10 depends=()
11 options=('!strip')
12 source=(http://www.perforce.com/downloads/perforce/r${pkgver:2:4}/bin.linux26${CARCH/i6/x}/${pkgname}.tgz
13         p4v.desktop
14         LICENSE)
15 md5sums=('3636e90531db5cbc04620c97ad2f30cc'
16          'dafeaf5f26ee1758d3801b5448752789'
17          '016c4c23753b808659f46bad3d7352aa')
19 [ "$CARCH" = "x86_64" ] && \
20 md5sums=('2a35902f8699cdb813e8097207c34c84'
21          'dafeaf5f26ee1758d3801b5448752789'
22          '016c4c23753b808659f46bad3d7352aa')
24 package() {
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: