diff options
author | Liganic | 2015-06-09 00:06:03 +0200 |
---|---|---|
committer | Liganic | 2015-06-09 00:06:03 +0200 |
commit | 6004101c3803d65d9c4baca855c8ac6e29bff1d1 (patch) | |
tree | a81d63268829cab5e5a4894f87b881c5403d1d27 | |
download | aur-6004101c3803d65d9c4baca855c8ac6e29bff1d1.tar.gz |
Initial commit of cpplint into AUR4
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2392de5ea3cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = cpplint + pkgdesc = Automated checker to make sure a C++ file follows Google's C++ style guide. + pkgver = 9 + pkgrel = 0 + url = http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml + arch = i686 + arch = x86_64 + license = unknown + depends = python2 + source = https://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py + source = https://google-styleguide.googlecode.com/svn/trunk/cpplint/README + sha256sums = 7d84109c443030ae33978322469c3b82c40f52e654f2759b356c3f071fe0e749 + sha256sums = 1c0500c633b2161633abffccc942f8b18dddb04a9b099d40db09b959078044c8 + +pkgname = cpplint + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..125734d638af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Liganic <liganic-aur@gmx.net> +pkgname=cpplint +pkgver=9 +pkgrel=0 +pkgdesc="Automated checker to make sure a C++ file follows Google's C++ style guide." +arch=('i686' 'x86_64') +url="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml" +license=('unknown') +groups=() +depends=('python2') +source=('https://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py' +'https://google-styleguide.googlecode.com/svn/trunk/cpplint/README') +sha256sums=('7d84109c443030ae33978322469c3b82c40f52e654f2759b356c3f071fe0e749' + '1c0500c633b2161633abffccc942f8b18dddb04a9b099d40db09b959078044c8') + +build() { + sed -i 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/' $srcdir/cpplint.py +} + +package() { + install -Dm755 "$srcdir/cpplint.py" "$pkgdir/usr/bin/cpplint" + install -Dm755 "$srcdir/README" "$pkgdir/usr/share/doc/cpplint/README" +} + +# vim:set ts=2 sw=2 et: |