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.3
|
|
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=('64d185bafd31bf3c9d0580afbd65d75d4e614735e14bae912c00fecc73ef8d82c53ec23be3800f5894ab4e7d1313a4e6775563afdef77cef599adacd39bdadae')
|
|
|
|
package() {
|
|
cd "$srcdir/cmake_format-$pkgver"
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
}
|