# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: "Array in a Matrix" pkgname=multrix pkgver=1.0 pkgrel=1 pkgdesc="Matrix multiplication calculator." arch=('x86_64') url="https://git.arrayinamatrix.xyz/array-in-a-matrix/multrix" license=('GPL3') makedepends=('nim') source=("$url/archive/$pkgname-$pkgver.tar.gz") sha512sums=('42cced4e745c3999e6c8b8ff61c7eec000753e19ccce9d34c3400ab0ac8b5c23f99f8b3ca45cbe2bb4052f172033cc0d989e6a13224354db3ebf3a5dcf6df583') build() { cd "$pkgname" make real } package() { cd "$pkgname" install -Dm755 bin/multrix $pkgdir/usr/bin/multrix install -Dm755 bin/dot $pkgdir/usr/bin/dot install -Dm755 bin/cross $pkgdir/usr/bin/cross }