add pkgbuild and fix gitignore

main
Matt C 3 years ago
parent 58ff7a0090
commit 2bfd7744e1

5
.gitignore vendored

@ -1,3 +1,6 @@
/target /target
.idea .idea
Cargo.lock Cargo.lock
/pkg
/src
*tar*

@ -0,0 +1,21 @@
# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>
pkgname=malachite
pkgver=1.0.0
pkgrel=1
pkgdesc="Crystal Linux Wallpaper Images"
arch=('any')
url="https://git.tar.black/crystal/programs/malachite"
license=()
source=()
depends=()
conflicts=()
md5sums=()
package() {
cd ../ && cargo build --release
mkdir -p "${pkgdir}/usr/bin"
cp target/release/mlc "${pkgdir}/usr/bin/."
}
Loading…
Cancel
Save