Commit 72ce59b0 authored by Anjandev Momi's avatar Anjandev Momi Committed by Leo
Browse files

testing/editorconfig-checker: new aport

parent a3caf413
Pipeline #57607 skipped
# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=editorconfig-checker
pkgver=2.2.0
pkgrel=0
pkgdesc="A tool to verify that your files are in harmony with your .editorconfig"
url="https://editorconfig-checker.github.io/"
arch="all !mips64"
license="MIT"
makedepends="go"
options="!check chmod-clean" # tests broken
builddir="$srcdir/github.com/editorconfig-checker/$pkgname"
source="$pkgname-$pkgver.tar.gz::https://github.com/editorconfig-checker/editorconfig-checker/archive/$pkgver.tar.gz"
prepare() {
mkdir -p "$srcdir/github.com/editorconfig-checker"
mv "$srcdir/$pkgname-$pkgver" "$srcdir/github.com/editorconfig-checker/editorconfig-checker"
default_prepare
}
build() {
GOPATH="$srcdir" make build
}
package() {
install -Dm755 "$builddir/bin/ec" -t "$pkgdir/usr/bin"
}
sha512sums="52768a968d94b49aec99958a946d46e5dcff74659329f41401c941a0de84dd40e77a027e758717df0051cc54d1e3b3d04f228f410847f06c1d430583fa8d4ea2 editorconfig-checker-2.2.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment