summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..0f37785
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Leonardo Bishop <me@leonardobishop.net>
+pkgname=dotfiles-installer
+pkgdesc="Dotfiles installer"
+pkgver=0.2.0
+pkgrel=1
+makedepends=('rust' 'cargo')
+arch=('x86_64')
+url="https://git.leonardobishop.net/dotfiles-installer/"
+license=('GPL-3.0-or-later')
+provides=('dotfiles-installer')
+source=(dotfiles-installer::git+https://git.leonardobishop.net/dotfiles-installer#tag=v${pkgver})
+sha256sums=('f01ae3eadba49a8fca1fc87ef9968ff5b06a5e602b8b12fdc5f7020234175d18')
+
+build() {
+ cd "dotfiles-installer"
+ cargo build --release
+}
+
+package() {
+ install -Dm755 "$srcdir/dotfiles-installer/target/release/dotfiles-installer" "$pkgdir/usr/bin/dotfiles-installer"
+}