mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-03 19:42:26 +02:00
30 lines
944 B
Plaintext
30 lines
944 B
Plaintext
# Maintainer: Patrick Wu <wotingwu@live.com>
|
|
# Contributor: Patrick Wu <wotingwu@live.com>
|
|
pkgname=wslu
|
|
pkgver=2.3.4
|
|
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="89ea42fc0d0d5f9883118cd0b624e78a200b6f623fcb9b39621d1bb656201fda53d87cd185f5b791e2077fe228ef6e5dad921ffcd1def02544a567e2c1e83afc wslu-2.3.4.tar.gz"
|