2018-12-06 18:05:42 +01:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2018-12-05 16:54:40 +01:00
|
|
|
pkgname=cmake-format
|
2019-06-27 10:58:53 +02:00
|
|
|
pkgver=0.5.3
|
2019-05-17 17:22:59 +02:00
|
|
|
pkgrel=1
|
2018-12-06 18:05:42 +01:00
|
|
|
pkgdesc='Source code formatter for CMake listfiles'
|
2018-12-05 16:54:40 +01:00
|
|
|
arch=('any')
|
|
|
|
url='https://github.com/cheshirekow/cmake_format'
|
|
|
|
license=('GPL3')
|
2019-06-27 10:58:53 +02:00
|
|
|
depends=('python-setuptools' 'python-yaml' 'python-jinja')
|
2018-12-05 16:54:40 +01:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
|
2019-06-27 10:58:53 +02:00
|
|
|
sha512sums=('55adff9c14c985c1467614298f3fda030efd1d5d29a52771c43552dcbe9442b3204af1cce42a2f5496c643c107be1fdb3d07c3f71c4af9acb72651c7c6eb417e')
|
2018-12-05 16:54:40 +01:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/cmake_format-$pkgver"
|
|
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
|
|
}
|