aboutsummaryrefslogblamecommitdiffstats
path: root/community/ckermit/APKBUILD
blob: d1d66ca8741c888de48c43689ce75334e2c7f055 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           

               
        



                                                                       
                               
                         
                          



                                                                                  
         
                          
                  


           
                                                                                  
                                                                      
 
                                                      


                                                           

 

                                                                                                                                                           
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ckermit
pkgver=9.0.302
pkgrel=2
pkgdesc="Portable scriptable network and serial communication software"
url="http://www.columbia.edu/kermit/ck90.html"
arch="all"
license="custom"
options="!check" #no test avail
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.kermitproject.org/ftp/kermit/archives/cku${pkgver/9.0./}.tar.gz
	makefile.patch"
builddir="$srcdir"

build() {
	chmod -R og-rwx ./
	make linux
}

package() {
	install -Dm644 COPYING.TXT $pkgdir/usr/share/licenses/$pkgname/COPYING.TXT
	install -Dm 644 ckuker.nr $pkgdir/usr/share/man/man1/ckermit.1

	install -Dm 755 wermit $pkgdir/usr/bin/ckermit
	echo "#!/usr/bin/ckermit" > _tmp.ini
	cat ckermit.ini >> _tmp.ini
	install -m 755 _tmp.ini $pkgdir/usr/bin/ckermit.ini
}

sha512sums="2cfc264e5262d29618fdf218fd3407fd9049b16110972cdddb03d114703b7a0ea13c4b0a354f50c2a9f70d4727732fe4d1920b5c656f969bc56c1eb9dc3c43fa  cku302.tar.gz
aa23587ba85ac26e0ad5c4e0ed82d07174c67a00c76995055574b521e5f7d1d7b99696ee976b5c1943b0dc6cd837b83a94be19a38624963ea38be58e6bf7559a  makefile.patch"