diff --git a/PKGBUILD b/PKGBUILD index c539630..ab67b39 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,17 +7,10 @@ pkgdesc="A Linux port of OpenBSD's ksh targeting musl" arch=( 'i686' 'x86_64' ) url='https://github.com/dimkr/loksh' license=( 'custom' ) +depends=( 'libbsd' ) +makedepends=( 'meson' ) source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/src.tar.xz" ) -#_flag_static=1 -if (( _flag_static )); then - makedepends+=( 'musl' ) - _makeopts=( 'CC=musl-gcc' 'LDFLAGS=-static' ) -else - depends=( 'libbsd' ) - _makeopts=( 'LDFLAGS=-lbsd' ) -fi - build() { cd "$pkgname" meson --prefix=/ \