diff options
author | Carl Smedstad | 2021-04-27 12:38:40 +0200 |
---|---|---|
committer | Carl Smedstad | 2021-04-27 12:43:59 +0200 |
commit | 0459783289dc4aae69060c38374bcdb696a6eab8 (patch) | |
tree | 095c3807b9418359445c534c5e6e9a740c8ec08e | |
parent | 2fa40a8a16842eb1f83817d4de5796fc62e4c502 (diff) | |
download | aur-0459783289dc4aae69060c38374bcdb696a6eab8.tar.gz |
Take over maintainence & update to version 1.4.1
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
3 files changed, 21 insertions, 15 deletions
@@ -1,16 +1,14 @@ -# Generated by mksrcinfo v8 -# Thu Dec 1 09:54:27 UTC 2016 pkgbase = cmake-lint pkgdesc = Check for coding style issues in CMake files - pkgver = 1.4 + pkgver = 1.4.1 pkgrel = 1 - url = http://github.com/richq/cmake-lint/ + url = https://github.com/cmake-lint/cmake-lint arch = any - license = APACHE + license = Apache makedepends = python-setuptools depends = python - source = https://github.com/richq/cmake-lint/archive/v1.4.tar.gz - md5sums = ab453e14929ccfb31ff610f5d953ce79 + source = cmake-lint-1.4.1.tar.gz::https://github.com/cmake-lint/cmake-lint/archive/v1.4.1.tar.gz + sha512sums = 7be6c4bab4c46c21a4c96cc8451ec112ee6c6190ff97a169f0920be5711c49def38e02926da2cf37c2f3a227ccb858defd310eed8f87b79a2c21ce643942110f pkgname = cmake-lint diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..80c5ab63c6b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.zst +*.tar.gz +pkg/ +src/ @@ -1,21 +1,25 @@ +# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com> +# Contributor: Richard Quirk + pkgname=cmake-lint -pkgver=1.4 +pkgver=1.4.1 pkgrel=1 pkgdesc="Check for coding style issues in CMake files" arch=('any') -url="http://github.com/richq/cmake-lint/" -license=('APACHE') +url="https://github.com/cmake-lint/cmake-lint" +license=('Apache') depends=('python') makedepends=('python-setuptools') -source=("https://github.com/richq/$pkgname/archive/v$pkgver.tar.gz") -md5sums=('ab453e14929ccfb31ff610f5d953ce79') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('7be6c4bab4c46c21a4c96cc8451ec112ee6c6190ff97a169f0920be5711c49def38e02926da2cf37c2f3a227ccb858defd310eed8f87b79a2c21ce643942110f') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" python setup.py build } package() { - cd "$srcdir/$pkgname-$pkgver" - python ./setup.py install --prefix=/usr --root="$pkgdir" + cd "$pkgname-$pkgver" + export PYTHONHASHSEED=0 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |