diff --git a/build/arch/PKGBUILD b/build/arch/PKGBUILD index e640421..5d78ca6 100644 --- a/build/arch/PKGBUILD +++ b/build/arch/PKGBUILD @@ -1,7 +1,9 @@ +# Maintainer: Vomitblood + 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" diff --git a/build/debian/debian.sh b/build/debian/debian.sh index fc312cb..62be15a 100644 --- a/build/debian/debian.sh +++ b/build/debian/debian.sh @@ -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 diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..235498a --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# TODO: temp install script for arch + +cd build/arch +makepkg -cfsi \ No newline at end of file diff --git a/src/bin/testing.rs b/src/bin/testing.rs new file mode 100644 index 0000000..6686bd0 --- /dev/null +++ b/src/bin/testing.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!") +}