blob: 708c1836beb716d54f5e43318738915b3207dc16 (
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
30
31
32
33
34
35
36
37
|
# Maintainer: Arne Beer <public@arne.beer>
pkgname=geil-git
pkgver=v0.0.1.alpha.0.r17.g00f5bb0
pkgrel=1
arch=('any')
pkgdesc='Update your git repos and see which need cleanup.'
license=('MIT')
makedepends=('git' 'cargo')
conflicts=()
provides=('geil')
options=(!lto)
url='https://github.com/Nukesor/geil'
source=("$pkgname"::"git+https://github.com/Nukesor/geil.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd $pkgname
# Build the daemon and client
cargo build --release --locked
}
package() {
cd $pkgname
# Install binaries
install -Dm755 "target/release/geil" "${pkgdir}/usr/bin/geil"
# Install License
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/geil/LICENSE"
}
|