PKGBUILDs/cmake-format/default/PKGBUILD

21 lines
746 B
Bash
Raw Normal View History

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-02-06 17:27:12 +01:00
pkgver=0.4.5
pkgrel=2
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')
depends=('python-setuptools' 'python-yaml')
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-02-06 17:27:12 +01:00
sha512sums=('b9cf9fa152af718db7ca753f65dc9732c458d2123297907c96ae09e9bfed95db79dd3caf159dccc42234146accbfa6bbee7f9a2c43d66a71cd33d68ac4220ffb')
2018-12-05 16:54:40 +01:00
package() {
cd "$srcdir/cmake_format-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}