pkgname=tomoyo-tools _basever=2.6.1 _timestamp=20210910 _file=70710 pkgver=${_basever}.${_timestamp} pkgrel=21 pkgdesc='TOMOYO Linux 2.5.x userspace tools for Linux kernel 3.2 and above' arch=('x86_64') url='https://tomoyo.sourceforge.net/' license=('GPL') depends=('ncurses' 'linux>=6.11.7') makedepends=('help2man') install=tomoyo-tools.install source=("https://jaist.dl.osdn.jp/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz") md5sums=('aaaa6ffea56b984e392d5d609859d025') build() { cd ${pkgname} make -j1 } package() { cd ${pkgname} make INSTALLDIR=${pkgdir} install }