# Maintainer: Patrick Wu # Contributor: Patrick Wu pkgname=wslu pkgver=2.3.6 pkgrel=0 pkgdesc="A collection of utilities for Windows 10 Linux Subsystems" url="https://github.com/wslutilities/wslu" arch="noarch" license="GPL-3.0-or-later" depends="bc bash-completion imagemagick" 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() { make } check() { make test } package() { install -Dm 555 docs/* -t "$pkgdir"/usr/share/man/man1/ install -Dm 755 out/* -t "$pkgdir"/usr/bin/ install -Dm 555 src/etc/* -t "$pkgdir"/usr/share/wslu/ } sha512sums="2cf8e89d4eaacc88a334a705afde14111ed63718585d9faaa9b39c0a758ed7f00d2747e004f5d1d62c06606c582e9be0ffbe88f94d8e908e4f5bb9804e359d56 wslu-2.3.6.tar.gz"