A license file should be added under Packages.
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/Nordic/LICENSE"
Git Clone URL: | https://aur.archlinux.org/nordic-theme.git (read-only, click to copy) |
---|---|
Package Base: | nordic-theme |
Description: | Nord-derived themes for GTK and other platforms |
Upstream URL: | https://github.com/EliverLara/Nordic |
Licenses: | GPL3 |
Submitter: | hamki |
Maintainer: | hamki (happy4pizza) |
Last Packager: | lmartinez-mirror |
Votes: | 21 |
Popularity: | 0.77 |
First Submitted: | 2021-02-06 15:01 (UTC) |
Last Updated: | 2022-06-25 06:23 (UTC) |
A license file should be added under Packages.
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/Nordic/LICENSE"
I'd like to add that a majority of these nordic-
packages can be merged together into split package base here since they all share an upstream source.
Providing a patch for the 2.1.0 release that cleans up the PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 26cbf15..cb7a707 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,18 @@
# Maintainer: hamki <hamki.do2000@gmail.com>
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
+
pkgname=nordic-theme
-_pkgname=Nordic
-pkgver=2.0.0
+pkgver=2.1.0
pkgrel=1
-epoch=
-pkgdesc="Nordic is a Gtk3.20+ theme created using the awesome Nord color pallete."
-arch=('i686' 'x86_64')
+pkgdesc="GTK theme using the Nord color palette"
+arch=('any')
url="https://github.com/EliverLara/Nordic"
license=('GPL3')
-groups=()
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=("https://github.com/EliverLara/Nordic/releases/download/$pkgver/$_pkgname.tar.xz"
-)
-noextract=()
-sha256sums=(c6c75f9474568c2b7a0067490d6a76427b9c2ff9fc6963dd3878efa9c4a24543)
+source=("$pkgname-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic.tar.xz")
+sha256sums=('cce429254c31473571963b5125e8fb652ce517bbec5245b1e17fe975b9bfd10b')
package() {
- cd "${_pkgname}"
- mkdir -p "${pkgdir}/usr/share/themes/$_pkgname"
- cp -a "${srcdir}/${_pkgname}/"* "${pkgdir}/usr/share/themes/${_pkgname}/"
+ cd Nordic
+ find assets cinnamon gnome-shell gtk-* metacity-1 xfwm4 index.theme \
+ -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/themes/Nordic/{}" \;
}
@test0 yeah it did. weird
@hamki It worked with paru after deleting ~/.cache/paru/clone/nordic-theme/Nordic.tar.xz and updating with -Syu again. The checksum is correct in the PKGBUILD, thanks for pointing that out.
@myyc The same trick with yay's local cache folder may work for you...
for some reason it doesn't work with yay. it works when you install it the good old makepkg -si way.
@test0 I just tested this package locally and the sha256 checksum is correct. Maybe your internet error caused the error.
Pinned Comments
lmartinez-mirror commented on 2022-01-11 01:01 (UTC)
All other
nordic-*
packages successfully merged into this one. The only package left,nordic-polar-theme
, has its own repo, but this repo also packages the same theme. I won't merge that one unless development discontinues there in favor of the main repo.