summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2d8bf77aabe5673436251f3a5e886b16ef87f66 (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
# Maintainer: Clar Fon <them@lightdark.xyz>
pkgname=git-journal
pkgver=1.8.1
pkgrel=1
pkgdesc="The Git Commit Message and Changelog Generation Framework"
arch=('x86_64' 'i686')
url="https://github.com/saschagrunert/git-journal"
license=('MIT')
depends=()
makedepends=('cargo')
optdepends=()
provides=('git-journal')
conflicts=('git-journal')
source=("https://github.com/saschagrunert/git-journal/archive/$pkgver.tar.gz")
sha256sums=('1941a47668d024979eaeedc1c484b55be2786ff111d4189a6a2e50b29554394e')

build() {
	cd $pkgname-$pkgver
	cargo build --release
}

package() {
	cd $pkgname-$pkgver
	install -D -m755 "target/release/git-journal" "$pkgdir/usr/bin/git-journal"
	install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}