aboutsummaryrefslogtreecommitdiffstats
path: root/community/wslu/APKBUILD
blob: a34c95c96ce1be433f640d7239f3df79d6b3c880 (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
30
31
32
# Maintainer: Jinming Wu, Patrick <me@patrickwu.space>
# Contributor: Jinming Wu, Patrick <me@patrickwu.space>
pkgname=wslu
pkgver=3.2.3
pkgrel=0
pkgdesc="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"
# Testsuite needs to be run from inside WSL
options="!check"

build() {
	make
}

check() {
	make test
}

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

sha512sums="
434a2606261280d417800f9b012fe1bd75a132a000a69470e35c7e315aa90487c267104c7cf407b7fdd3d7e32469bc8048da0cd195cf24439ac149c97943ffe8  wslu-3.2.3.tar.gz
"