# Maintainer : yjun # Contributor : Dimitris Kiziridis pkgname=picsim pkgver=0.8.9 pkgrel=1 pkgdesc="Emulates some PIC microcontroller and periferics such as USART and timers, the simulator architecture permit easy implementation of external elements in C" arch=('x86_64') url='https://github.com/lcgamboa/picsim' license=('GPL2') options=('staticlibs') depends=('glibc') makedepends=('gcc' 'doxygen') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lcgamboa/picsim/archive/v${pkgver}.tar.gz") sha256sums=('ab01b8af9a209ef2e6f2fb0f982afd98764c9c02a371e9d50489465cb168cb0f') build() { cd "${pkgname}-${pkgver}" make } package() { cd "${pkgname}-${pkgver}" install -dm755 "$pkgdir/usr/lib" # install make install prefix="$pkgdir/usr" # bin install -Dm755 src/${pkgname} -t "${pkgdir}/usr/bin" # doc install -d "${pkgdir}/usr/share/doc/${pkgname}" cp -avR docs examples \ "${pkgdir}/usr/share/doc/${pkgname}" }