21 lines
761 B
Bash
21 lines
761 B
Bash
# 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.
|
|
|
|
pkgname=cmake-format
|
|
pkgver=0.6.5
|
|
pkgrel=1
|
|
pkgdesc='Source code formatter for CMake listfiles'
|
|
arch=('any')
|
|
url='https://github.com/cheshirekow/cmake_format'
|
|
license=('GPL3')
|
|
depends=('python-setuptools' 'python-yaml' 'python-jinja')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
|
|
sha512sums=('94ca5887262f2b559aa2783f970ef4c34de4f0475845eae21b98fcbb192c8b38a30268bb9efb9f112c64666ecdde21948a94e279c341edf5ce5820f046f0d49f')
|
|
|
|
package() {
|
|
cd "$srcdir/cmake_format-$pkgver"
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
}
|