diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bae380198a95 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: spikecodes <19519553+spikecodes@users.noreply.github.com> +pkgname=the-way +pkgver=0.10.0 +pkgrel=1 +pkgdesc="A command line code snippets manager" +arch=('any') +url="https://github.com/out-of-cheese-error/the-way" +license=("MIT") +makedepends=("git" "cargo") +provides=(${pkgname}) +conflicts=(${pkgname}) +source=("${pkgname}::git+${url}") +sha256sums=("SKIP") + +build() { + cd "${pkgname}" + cargo build --release +} + +package() { + install -Dm755 "${pkgname}/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" +} |