2015-06-08 09:31:02 +00:00
|
|
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
|
|
|
|
|
|
pkgname='loksh'
|
2022-02-10 23:48:41 +00:00
|
|
|
pkgver='7.0'
|
2020-10-26 05:56:52 +00:00
|
|
|
pkgrel=1
|
2015-06-08 09:31:02 +00:00
|
|
|
pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
|
|
|
|
arch=( 'i686' 'x86_64' )
|
|
|
|
url='https://github.com/dimkr/loksh'
|
|
|
|
license=( 'custom' )
|
2020-05-23 12:02:14 +00:00
|
|
|
makedepends=( 'meson' )
|
2022-02-10 23:48:41 +00:00
|
|
|
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/loksh-$pkgver.tar.xz" )
|
2015-06-08 09:31:02 +00:00
|
|
|
|
|
|
|
build() {
|
2022-02-10 23:48:41 +00:00
|
|
|
cd "$pkgname-$pkgver"
|
2020-05-23 11:43:20 +00:00
|
|
|
meson --prefix=/ \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--datadir=/usr/share \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--buildtype=plain \
|
2020-05-23 12:10:01 +00:00
|
|
|
--bindir=/usr/bin \
|
2020-05-23 11:43:20 +00:00
|
|
|
. output
|
|
|
|
|
|
|
|
ninja -C output
|
2015-06-08 09:31:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-02-10 23:48:41 +00:00
|
|
|
cd "$pkgname-$pkgver"
|
2020-05-23 11:43:20 +00:00
|
|
|
DESTDIR="$pkgdir" ninja -C output install
|
2015-06-08 09:31:02 +00:00
|
|
|
}
|
|
|
|
|
2022-02-10 23:48:41 +00:00
|
|
|
sha1sums=('9611e85b4621a196e0db9f82e9ff9ee833f419fe')
|