loksh/PKGBUILD
fbt b57b1844fd Uses lolibc now
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-24 03:27:50 +03:00

33 lines
716 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='loksh'
pkgver='6.7.1'
pkgrel=3
pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
arch=( 'i686' 'x86_64' )
url='https://github.com/dimkr/loksh'
license=( 'custom' )
makedepends=( 'meson' )
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/src.tar.xz" )
build() {
cd "$pkgname"
meson --prefix=/ \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--datadir=/usr/share \
--localstatedir=/var \
--buildtype=plain \
--bindir=/usr/bin \
. output
ninja -C output
}
package() {
cd "$pkgname"
DESTDIR="$pkgdir" ninja -C output install
}
sha1sums=('fc5f081423fcb922d02e97b733e4b45c8a359eb2')