You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
malachite/PKGBUILD

25 lines
598 B
Bash

# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>
pkgname=malachite
pkgver=1.0.0
pkgrel=1
pkgdesc="Tool for packaging and maintaining pacman repositories"
arch=('x86_64')
url="https://git.tar.black/crystal/programs/malachite"
license=('Nolicense')
source=("git+https://git.tar.black/crystal/programs/malachite")
sha256sums=('SKIP')
depends=('git')
makedepends=('cargo')
build() {
cd ${srcdir}/malachite
cargo build --release
}
package() {
mkdir -p $pkgdir/usr/bin
chmod +x ${srcdir}/malachite/target/release/mlc
cp ${srcdir}/malachite/target/release/mlc $pkgdir/usr/bin/.
}