updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / logcat / PKGBUILD
blob852201ad97d8ce3a9b7f394a58b3712bdf8cbbd8
1 # Maintainer: Gordin <9ordin @t gmail dot com>
3 pkgname=logcat
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc='script to highlight adb logcat output for console'
7 arch=('any')
8 url="http://jsharkey.org/blog/2009/04/22/modifying-the-android-logcat-stream-for-full-color-debugging"
9 license=('APACHE')
10 depends=('android-sdk-platform-tools' 'python2')
12 source=("${pkgname}::http://jsharkey.org/downloads/coloredlogcat.pytxt")
13 sha256sums=('bcf780e4e79b059fc11bac9d8e5fbb94c1eee68ec55691e72dc43c358bb3496f')
15 package() {
16   mkdir -p ${pkgdir}/usr/bin/
17   cd "${pkgdir}/usr/bin"
18   cp ${srcdir}/${pkgname} .
19   sed -i "s|python|python2|" ${pkgname}
20   chmod +x ${pkgname}