# Maintainer: Jinming Wu, Patrick # Contributor: Jinming Wu, Patrick pkgname=wslu pkgver=3.0.1 pkgrel=0 pkgdesc="A collection of utilities for Windows 10 Linux Subsystems" url="https://wslutiliti.es/wslu" arch="noarch" license="GPL-3.0-or-later" depends="bc bash-completion imagemagick" makedepends="gzip" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/wslutilities/wslu/archive/v$pkgver.tar.gz" options="!check" #tests can be only run on a distro running on WSL(Windows Subsystems for Linux) environment, hence disabled build() { sed -i s/VERSIONPLACEHOLDER/"$(cat ./VERSION)"/g ./src/wslu-header make } check() { make test } package() { make DESTDIR="$pkgdir" install } sha512sums="8a7820c001d378af7cca6ea40b5194079a6ee5e4aca27e5899d4fcbc2944200efc095cce5996831248388ea0a4a8799a7965ec56632f130351bceacff27b9dd1 wslu-3.0.1.tar.gz"