diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2025-08-06 22:28:11 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2025-08-06 22:28:11 +0100 |
| commit | 1b6226d2ba6361f67eb555edb0d4e9006cb5c6fe (patch) | |
| tree | d20e3556d3f8367171b8c548c95b88c78d962821 /PKGBUILD | |
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 21 |
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" +} |
