summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd1a59a0fc0b02ac724366122a7c4089086c367d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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: