🔒 Repository is read-only – file editing is disabled.

recipes/utils/ksh/PAGBUILD.yaml main

36 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536
pkgname: ksh
pkgver: '2020.0.0'
pkgrel: '4'
pkgdesc: 'The Original AT&T Korn Shell'
url: 'http://kornshell.org/'
arch: x86_64
depends: []
makedepends:
- meson
- ninja
- python

source:
- 'https://github.com/att/ast/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

hooks:
  'post-install': |
    name=ksh
    version=2020.0.0
    release=4
    grep -q bin/ksh etc/shells || echo "/bin/ksh" >> etc/shells

build: |
  mkdir build
  cd    build
  meson --prefix=/ \
        ../${pkgname}-${pkgver}
  ninja
  DESTDIR=${PKGDIR} ninja install

package: |
  mkdir ${PKGDIR}/usr
  mv ${PKGDIR}/share ${PKGDIR}/usr/share