aboutsummaryrefslogblamecommitdiffstats
path: root/main/mksh/APKBUILD
blob: e16d0312ed569ee5794c1ab327add55be3374d89 (plain) (tree)
1
2
3
4
5
6
7
8

                                                                  
            
          
                
        
                          
                                 



              
              
                   
                                                                            
                          
                                                                             
                           
 
         





                      
                                          


           
                      


                                                                         

 
                                                                                                                                                            
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Sören Tempel <soeren+alpinelinux@soeren-tempel.net>
pkgname=mksh
pkgver=56c
_pkgver=R$pkgver
pkgrel=0
pkgdesc="MirBSD KSH Shell"
url="https://www.mirbsd.org/mksh"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
checkdepends="perl"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="https://www.mirbsd.org/MirOS/dist/mir/$pkgname/$pkgname-$_pkgver.tgz"
builddir="$srcdir/$pkgname"

build() {
	cd "$builddir"
	sh Build.sh -r
}

check() {
	cd "$builddir"
	./test.sh -v -f -C regress:no-ctty
}

package() {
	cd "$builddir"
	install -Dm755 mksh "$pkgdir"/bin/mksh
	install -Dm644 mksh.1 "$pkgdir"/usr/share/man/man1/mksh.1
	install -Dm644 dot.mkshrc "$pkgdir"/usr/share/doc/mksh/dot.mkshrc
}

sha512sums="7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135  mksh-R56c.tgz"