diff options
author | Althorion | 2019-06-09 22:43:59 +0200 |
---|---|---|
committer | Althorion | 2019-06-09 22:43:59 +0200 |
commit | bce82837e7a9486d73c940266fe0b5e85abb2075 (patch) | |
tree | 4bc239f76744d6f55515315f6fd59a3edb1c84ad /PKGBUILD | |
download | aur-bliss-rust-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd1a59a0fc0b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Althorion <althorion@protonmail.com> + +pkgname=bliss-rust-git +_gitname=bliss +pkgver=0.1.3 +pkgrel=1 +pkgdesc="Batteries included .gitignore management tool" +arch=('x86_64') +url="https://github.com/ajmwagar/bliss" +license=('MIT') +depends=('git') +makedepends=('rust') +source=('git://github.com/ajmwagar/bliss') +md5sums=('SKIP') + +build() { + cd "$srcdir/$_gitname" + + cargo build --release +} + +package() { + cd "$srcdir/$_gitname" + + install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm 755 "target/release/$_gitname" "$pkgdir/usr/bin/$_gitname" +} + +# vim:set ts=2 sw=2 et: |