loksh/PKGBUILD
fbt cc88171f6d v++
Signed-off-by: fbt <fbt@fleshless.org>
2020-10-26 08:56:52 +03:00

33 lines
716 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='loksh'
pkgver='6.8.1'
pkgrel=1
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=('f6624c06c2237109ec6c129cf86969aff5dd4cbd')