aboutsummaryrefslogtreecommitdiffstats
path: root/community/wslu/APKBUILD
blob: c5b09c25a843c6d4fe28eaebb5e8f2a84a4e69ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Jinming Wu, Patrick <me@patrickwu.space>
# Contributor: Jinming Wu, Patrick <me@patrickwu.space>
pkgname=wslu
pkgver=3.2.2
pkgrel=1
pkgdesc="A collection of utilities for Windows 10 Linux Subsystems"
url="https://wslutiliti.es/wslu"
arch="noarch"
license="GPL-3.0-or-later"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
depends="bc bash-completion imagemagick grep"
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() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="12e90252656d2f614443dd29a504df654b7c7820015a14c97a0907cd5d6b312635b68c661438efd5a64a1b36323402eb0538a0cf4dbf8b9eaf71034f0aefed52  wslu-3.2.2.tar.gz"