1
0

Check if jade compiler installed in PKGBUILD.

This commit is contained in:
Alexander Andreev 2023-02-19 22:08:55 +04:00
parent 4ef674dcb7
commit 0339ce27f6
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -21,6 +21,9 @@ md5sums=('SKIP')
build() { build() {
cd "$srcdir/$pkgname" cd "$srcdir/$pkgname"
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
make DESTDIR="$pkgdir/" install-jade
fi
make DESTDIR="$pkgdir/" make DESTDIR="$pkgdir/"
} }