[arch-commits] Commit in wallutils/trunk (PKGBUILD PKGBUILD.gccgo)
Alexander Rødseth
arodseth at gemini.archlinux.org
Fri Nov 12 12:58:10 UTC 2021
Date: Friday, November 12, 2021 @ 12:58:10
Author: arodseth
Revision: 1043670
upgpkg: wallutils 5.10.0-1
Modified:
wallutils/trunk/PKGBUILD
Deleted:
wallutils/trunk/PKGBUILD.gccgo
----------------+
PKGBUILD | 21 +++++++--------------
PKGBUILD.gccgo | 29 -----------------------------
2 files changed, 7 insertions(+), 43 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-12 12:55:43 UTC (rev 1043669)
+++ PKGBUILD 2021-11-12 12:58:10 UTC (rev 1043670)
@@ -1,23 +1,19 @@
# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
pkgname=wallutils
-pkgver=5.9.0
-pkgrel=3
+pkgver=5.10.0
+pkgrel=1
pkgdesc='Utilities for handling resolutions, wallpapers and timed wallpapers'
arch=(x86_64)
url='https://github.com/xyproto/wallutils'
license=(MIT)
-depends=(libx11 libxpm wayland)
+depends=(libheif libx11 libxpm wayland)
makedepends=(git go libxcursor libxmu upx xbitmaps xorgproto)
-optdepends=('feh: for setting the wallpaper for some window managers for X')
-source=("git+$url#commit=a62337bcb86859ff300dc7203e681b4bc9caa2b5") # tag: 5.9.0
+optdepends=('feh: for setting the wallpaper for some window managers that runs under X')
+source=("git+$url#commit=3e1caadf5c1a4c73565a643886766415118d7334") # tag: 5.10.0
options=(!strip)
-sha256sums=('SKIP')
+b2sums=('SKIP')
-prepare() {
- sed -i 's/go build/go build -mod=vendor -buildmode=pie -trimpath -ldflags "-s -w -extldflags $$LDFLAGS"/g' $pkgname/Makefile
-}
-
build() {
make -C $pkgname
}
@@ -24,9 +20,6 @@
package() {
DESTDIR="$pkgdir" make -C $pkgname install
- find "$pkgdir/usr/bin/" -executable -type f -exec \
- upx -q --no-progress {} >/dev/null \;
+ find "$pkgdir/usr/bin/" -executable -type f -exec upx -q --no-progress {} >/dev/null \;
install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-
-# getver: github.com/xyproto/wallutils/tags
Deleted: PKGBUILD.gccgo
===================================================================
--- PKGBUILD.gccgo 2021-11-12 12:55:43 UTC (rev 1043669)
+++ PKGBUILD.gccgo 2021-11-12 12:58:10 UTC (rev 1043670)
@@ -1,29 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-
-pkgname=wallutils
-pkgver=5.8.2
-pkgrel=1
-pkgdesc='Utilities for handling resolutions, wallpapers and timed wallpapers'
-arch=(x86_64)
-url='https://github.com/xyproto/wallutils'
-license=(MIT)
-depends=(libx11 wayland)
-makedepends=(git gcc-go libxcursor libxmu xbitmaps xorgproto)
-optdepends=('feh: for setting the wallpaper for some window managers for X')
-source=("git+$url#tag=$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
- sed -i 's,go build,export GOPATH="$$PWD/../.."; go get -d; go build -buildmode=pie -gccgoflags="-s -w $$LDFLAGS",g' $pkgname/Makefile
-}
-
-build() {
- make -C $pkgname
-}
-
-package() {
- DESTDIR="$pkgdir" make -C $pkgname install
- install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list