Skip to content
Snippets Groups Projects
Commit 24c0f68b authored by Alexander Rødseth's avatar Alexander Rødseth
Browse files

upgpkg: 5.10.0-1

parent 358827eb
No related branches found
Tags 5.10.0-1
No related merge requests found
# Maintainer: Alexander F. Rødseth <xyproto@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')
prepare() {
sed -i 's/go build/go build -mod=vendor -buildmode=pie -trimpath -ldflags "-s -w -extldflags $$LDFLAGS"/g' $pkgname/Makefile
}
b2sums=('SKIP')
build() {
make -C $pkgname
......@@ -24,9 +20,6 @@ build() {
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
# Maintainer: Alexander F. Rødseth <xyproto@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:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment