mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 14:24:06 +02:00
30 lines
905 B
Text
30 lines
905 B
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
pkgname=loksh
|
|
pkgver=7.7
|
|
pkgrel=0
|
|
pkgdesc="A Linux port of OpenBSD's ksh"
|
|
url="https://github.com/dimkr/$pkgname"
|
|
arch="all"
|
|
license="Public-Domain"
|
|
makedepends="ncurses-dev meson"
|
|
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
|
options="!check" # upstream doesn't have a test suite
|
|
subpackages="$pkgname-doc"
|
|
source="loksh-$pkgver.tar.xz::https://github.com/dimkr/loksh/releases/download/$pkgver/loksh-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
--prefix=/ \
|
|
--bindir=/bin \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
002e3099a16052517f679f891293387dd55497aceedb5e959f2ae46fc3339b21856e48e402d7fcbffa1a17f1f9c6f433c32622284bd723293a02efe11dc755b9 loksh-7.7.tar.xz
|
|
"
|