updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / charles / PKGBUILD
blobec1bc1f7968f7b86ac3c54284e81b7215dabe0a9
1 # Maintainer: Alexander Baldeck <kth5@archlinuxppc.org>
2 pkgname=charles
3 pkgver=3.6.3
4 pkgrel=1
5 epoch=
6 pkgdesc="Web debugging proxy application"
7 arch=(any)
8 url="http://www.charlesproxy.com"
9 license=('custom' 'custom:bounce' 'APACHE')
10 depends=('java-runtime')
11 source=(http://www.charlesproxy.com/assets/release/${pkgver}/charles-proxy-${pkgver//./_}.tar.gz
12         charles-arch.patch
13         charles.desktop)
14 md5sums=('71b0c8317342baea9de3e739c043364e'
15          '8cdedb70530e1dd0093723625f194fba'
16          'ce55a3c7dda2773a79f6bdd99d55df7a')
18 build() {
19   cd "$srcdir/$pkgname"
20   patch -Np1 -i ${srcdir}/charles-arch.patch
22   install -D -m755 ${srcdir}/${pkgname}/bin/charles.sh ${pkgdir}/usr/bin/charles
24   for fn in ${srcdir}/${pkgname}/lib/*; do
25     install -D -m644 ${fn} ${pkgdir}/usr/share/java/${pkgname}/$(basename ${fn})
26   done
28   for fn in ${srcdir}/${pkgname}/etc/*; do
29     install -D -m644 ${fn} ${pkgdir}/usr/share/apps/${pkgname}/$(basename ${fn})
30   done
32   install -D -m644 ${srcdir}/${pkgname}/docs/licenses/bounce-license.txt ${pkgdir}/usr/share/licenses/${pkgname}/bounce-license.txt
35   install -D -m644 ${srcdir}/charles.desktop ${pkgdir}/usr/share/applications/charles.desktop
38 # vim:set ts=2 sw=2 et: