# Description: C compiler for 6502 based systems # URL: https://cc65.github.io # Maintainer: Andy Kosela, akosela at andykosela dot com # Depends on: linuxdoc-tools name=cc65 version=2.18 release=1 source=(https://github.com/cc65/cc65/archive/V$version.tar.gz) build() { cd $name-$version make PREFIX=/usr make PREFIX=/usr DESTDIR=$PKG install cd doc linuxdoc -B txt *.sgml install -d $PKG/usr/share/cc65/doc install -m 644 *.txt $PKG/usr/share/cc65/doc rm -rf $PKG/usr/share/{doc,info} }