Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
cutefish-wallpapers


Commits:
654e9fdc by Balló György at 2025-12-01T20:52:45+01:00
upgpkg: 1.0-3: Fix license

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
 pkgbase = cutefish-wallpapers
        pkgdesc = CutefishOS's system wallpaper
        pkgver = 1.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/cutefishos/wallpapers
        arch = any
        groups = cutefish
-       license = GPL
+       license = LicenseRef-Unsplash
        makedepends = cmake
        makedepends = ninja
        source = 
https://github.com/cutefishos/wallpapers/archive/1.0/cutefish-wallpapers-1.0.tar.gz


=====================================
PKGBUILD
=====================================
@@ -2,11 +2,11 @@
 
 pkgname=cutefish-wallpapers
 pkgver=1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="CutefishOS's system wallpaper"
 arch=('any')
 url="https://github.com/cutefishos/wallpapers";
-license=('GPL')
+license=('LicenseRef-Unsplash')
 groups=('cutefish')
 depends=()
 makedepends=('cmake' 'ninja')
@@ -14,13 +14,12 @@ 
source=("https://github.com/cutefishos/wallpapers/archive/$pkgver/$pkgname-$pkgv
 
sha512sums=('ea4d4d236b62993d2f5e3fb057fee50928318445da6e645703d637492fde0393c398d31aaed23d7274a88846452190c2b55868561e5c674520238033b77d1804')
 
 build() {
-  cd wallpapers-$pkgver
-
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
-  ninja
+  cmake -G Ninja -B build -S wallpapers-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
 }
 
 package() {
-  cd wallpapers-$pkgver
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" 
wallpapers-$pkgver/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cutefish-wallpapers/-/commit/654e9fdce22709d4b231627c27b379dd00b551f8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cutefish-wallpapers/-/commit/654e9fdce22709d4b231627c27b379dd00b551f8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to