diff options
author | Carl Smedstad | 2023-04-16 15:59:02 +0200 |
---|---|---|
committer | Carl Smedstad | 2023-04-16 15:59:27 +0200 |
commit | d76058015d3238b8240408ee07cbd54ea959c9a3 (patch) | |
tree | 435f2f21ac865575558b66ff344151ef1923f4dc | |
parent | b0785c0ce32270181318c9f3753e054ee4c839fd (diff) | |
download | aur-d76058015d3238b8240408ee07cbd54ea959c9a3.tar.gz |
Publish version 1.4.2-2
Fix namcap errors.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 21 insertions, 14 deletions
@@ -1,12 +1,12 @@ pkgbase = cmake-lint pkgdesc = Check for coding style issues in CMake files pkgver = 1.4.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cmake-lint/cmake-lint arch = any license = Apache - makedepends = python-setuptools - depends = python + depends = python-setuptools + depends = python-importlib-metadata source = cmake-lint-1.4.2.tar.gz::https://github.com/cmake-lint/cmake-lint/archive/1.4.2.tar.gz sha256sums = bf060987c74e07890f7314a4832c2e54ffb9c5c1e6d799387bc438010f918676 diff --git a/.gitignore b/.gitignore index 80c5ab63c6b2..f71c635dafda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.pkg.tar.zst -*.tar.gz -pkg/ -src/ +* +!.gitignore +!PKGBUILD +!.SRCINFO @@ -3,23 +3,30 @@ pkgname=cmake-lint pkgver=1.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="Check for coding style issues in CMake files" -arch=('any') +arch=(any) url="https://github.com/cmake-lint/cmake-lint" -license=('Apache') -depends=('python') -makedepends=('python-setuptools') +license=(Apache) +depends=( + python-setuptools + python-importlib-metadata +) + source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('bf060987c74e07890f7314a4832c2e54ffb9c5c1e6d799387bc438010f918676') +_archive="$pkgname-$pkgver" + build() { - cd "$pkgname-$pkgver" + cd "$_archive" + python setup.py build } package() { - cd "$pkgname-$pkgver" + cd "$_archive" + export PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |