Add cmake-format

This commit is contained in:
Martchus 2018-12-05 16:54:40 +01:00
parent ca35cb3a6e
commit 66f6405e31
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
pkgname=cmake-format
pkgver=0.4.3
pkgrel=2
pkgdesc='Source code formatter for cmake listfiles'
arch=('any')
url='https://github.com/cheshirekow/cmake_format'
license=('GPL3')
depends=('python-numpy')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
sha512sums=('2271dc9c98874c12cc2167b06965c85ef2b697f233f228dc4fdf53865f4ea5c1cb54b45d363ba65d244e56bed4ac643f5107134a3a127396a6507311fdd9f9e3')
package() {
cd "$srcdir/cmake_format-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}