Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
uncrustify


Commits:
3312eb92 by Carl Smedstad at 2025-03-07T17:07:33+01:00
Update maintainer/contributor comments

- - - - -
aee9748e by Carl Smedstad at 2025-03-07T17:08:19+01:00
Add nvchecker config

- - - - -
f363cff9 by Carl Smedstad at 2025-03-07T17:22:06+01:00
upgpkg: 0.80.1-1: Upstream release

https://github.com/uncrustify/uncrustify/releases/tag/uncrustify-0.80.1

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,15 @@
 pkgbase = uncrustify
        pkgdesc = A source code beautifier
-       pkgver = 0.78.1
-       pkgrel = 2
-       url = http://uncrustify.sourceforge.net/
+       pkgver = 0.80.1
+       pkgrel = 1
+       url = https://github.com/uncrustify/uncrustify
        arch = x86_64
-       license = GPL
+       license = GPL-2.0-only
        makedepends = cmake
        makedepends = python
        depends = gcc-libs
-       source = 
https://github.com/uncrustify/uncrustify/archive/uncrustify-0.78.1.tar.gz
-       sha256sums = 
ecaf4c0adca14c36dfffa30bc28e69865115ecd602c90eb16a8cddccb41caad2
+       depends = glibc
+       source = 
https://github.com/uncrustify/uncrustify/archive/uncrustify-0.80.1.tar.gz
+       sha256sums = 
0e2616ec2f78e12816388c513f7060072ff7942b42f1175eb28b24cb75aaec48
 
 pkgname = uncrustify


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[uncrustify]
+source = "git"
+git = "https://github.com/uncrustify/uncrustify.git";
+prefix = "uncrustify-"


=====================================
PKGBUILD
=====================================
@@ -1,34 +1,41 @@
-# Maintainer: Pierre Neidhardt <ambre...@gmail.com>
+# Maintainer: Santiago Torres <sa...@archlinux.org>
+# Maintainer: Carl Smedstad <car...@archlinux.org>
+# Contributor: Pierre Neidhardt <ambre...@gmail.com>
 # Contributor: Auguste Pop <auguste [at] gmail [dot] com>
 
 pkgname=uncrustify
-pkgver=0.78.1
-pkgrel=2
+pkgver=0.80.1
+pkgrel=1
 pkgdesc="A source code beautifier"
 arch=(x86_64)
-url="http://uncrustify.sourceforge.net/";
-license=(GPL)
-depends=(gcc-libs)
-makedepends=(cmake python)
-source=("https://github.com/uncrustify/uncrustify/archive/uncrustify-$pkgver.tar.gz";)
-sha256sums=('ecaf4c0adca14c36dfffa30bc28e69865115ecd602c90eb16a8cddccb41caad2')
+url="https://github.com/uncrustify/uncrustify";
+license=(GPL-2.0-only)
+depends=(
+  gcc-libs
+  glibc
+)
+makedepends=(
+  cmake
+  python
+)
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+sha256sums=('0e2616ec2f78e12816388c513f7060072ff7942b42f1175eb28b24cb75aaec48')
 
-prepare() {
-  mkdir -p build
+build() {
+  cmake -S $pkgname-$pkgname-$pkgver -B build \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -Wno-dev
+  cmake --build build
 }
 
-build() {
-  cd build
-  cmake ../$pkgname-$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
+check() {
+  ctest --test-dir build --output-on-failure
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" PREFIX=/usr install
+  DESTDIR="$pkgdir" cmake --install build
 
-  cd ../$pkgname-$pkgname-$pkgver
-  install -d -m755 "$pkgdir"/usr/share/uncrustify
-  install -m644 etc/*.cfg "$pkgdir"/usr/share/uncrustify
+  cd $pkgname-$pkgname-$pkgver
+  install -vDm644 -t "$pkgdir/usr/share/uncrustify" etc/*.cfg
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/uncrustify/-/compare/4e1ad2d3704ac0bcf46d864fd9c0100ff02b0d64...f363cff9a949808a0a0c1062f9b5b597276bc7fc

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/uncrustify/-/compare/4e1ad2d3704ac0bcf46d864fd9c0100ff02b0d64...f363cff9a949808a0a0c1062f9b5b597276bc7fc
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to