loksh/PKGBUILD

33 lines
740 B
Bash
Raw Normal View History

2015-06-08 09:31:02 +00:00
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='loksh'
pkgver='7.6'
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' )
makedepends=( 'meson' )
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/loksh-$pkgver.tar.xz" )
2015-06-08 09:31:02 +00:00
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
2015-06-08 09:31:02 +00:00
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" ninja -C output install
2015-06-08 09:31:02 +00:00
}
sha1sums=('19c46203f1cc9c7baa8b86f8cb76130011d2a047')