makedeps
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
8bf95171c1
commit
ea3b3f5297
11
PKGBUILD
11
PKGBUILD
|
@ -7,16 +7,9 @@ pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
|
||||||
arch=( 'i686' 'x86_64' )
|
arch=( 'i686' 'x86_64' )
|
||||||
url='https://github.com/dimkr/loksh'
|
url='https://github.com/dimkr/loksh'
|
||||||
license=( 'custom' )
|
license=( 'custom' )
|
||||||
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' )
|
depends=( 'libbsd' )
|
||||||
_makeopts=( 'LDFLAGS=-lbsd' )
|
makedepends=( 'meson' )
|
||||||
fi
|
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/src.tar.xz" )
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user