loksh/PKGBUILD
fbt 2a30e8e8ee
All checks were successful
Package builder / BuildPackage (push) Successful in 1m5s
hashes
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-25 23:30:05 +00:00

33 lines
740 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='loksh'
pkgver='7.4'
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/loksh-$pkgver.tar.xz" )
build() {
cd "$pkgname-$pkgver"
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-$pkgver"
DESTDIR="$pkgdir" ninja -C output install
}
sha1sums=('c1335e6fccf2c7057bce1bac4a853511d83e082f')