Date: Monday, June 3, 2019 @ 19:50:48 Author: arodseth Revision: 476745
For gccgo Added: wallutils/trunk/PKGBUILD.gccgo ----------------+ PKGBUILD.gccgo | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: PKGBUILD.gccgo =================================================================== --- PKGBUILD.gccgo (rev 0) +++ PKGBUILD.gccgo 2019-06-03 19:50:48 UTC (rev 476745) @@ -0,0 +1,29 @@ +# Maintainer: Alexander F. Rødseth <[email protected]> + +pkgname=wallutils +pkgver=5.8.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 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:
