pkgname=last pkgver=1543 pkgrel=1 pkgdesc=" Genomic aligner for short reads \ https://doi.org/10.1093/nar/gkq010" arch=('x86_64') license=('GPL-3.0-only') depends=('zlib' 'bash' 'python') url="https://gitlab.com/mcfrith/$pkgname" source=("https://gitlab.com/mcfrith/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") sha256sums=('354b4d10c60c23a25c39c0ae5921db263151d3d75281b6b510d1879a7113d284') build() { cd $srcdir/$pkgname-$pkgver make all } package() { cd $srcdir/$pkgname-$pkgver make install prefix=$pkgdir/usr cd doc for docu in $(ls) do install -Dm644 $docu $pkgdir/usr/share/doc/$pkgname/$docu done }