This commit is contained in:
Vomitblood 2024-03-25 22:48:30 +08:00
parent 2b2a15c854
commit a575677898
4 changed files with 20 additions and 6 deletions

View file

@ -1,7 +1,9 @@
# Maintainer: Vomitblood <tohyouxuan@gmail.com>
pkgname=rustmon-git
pkgdesc="Pokemon Colorscripts written in Rust"
_gitname=rustmon
pkgver=r23.ab34e78
pkgver=r26.2b2a15c
pkgrel=1
arch=('x86_64')
url="https://github.com/Vomitblood/$_gitname"

View file

@ -1,11 +1,14 @@
#!/bin/sh
# variables
# get the script location
SCRIPT_DIR=$(dirname "$0")
# Variables
PKG_NAME=rustmon
BUILD_DIR=build/debian
RELEASE_DIR=../../target/release
DEBIAN_DIR=$PKG_NAME/DEBIAN
BIN_DIR=$PKG_NAME/usr/bin
BUILD_DIR=$SCRIPT_DIR/build/debian
RELEASE_DIR=$SCRIPT_DIR/../../target/release
DEBIAN_DIR=$BUILD_DIR/$PKG_NAME/DEBIAN
BIN_DIR=$BUILD_DIR/$PKG_NAME/usr/bin
AUTO_INSTALL=${1:-"no"}
# check for rust

6
install.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
# TODO: temp install script for arch
cd build/arch
makepkg -cfsi

3
src/bin/testing.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!")
}