blob: b366ab2d3330522da348222aabb7b967a803bc44 (
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
|
# Maintainer: Mark Cohen <m@markpcohen.com>
_pkgname=admiral
pkgname=${_pkgname}-git
pkgver=35
pkgrel=1
pkgdesc='Executes multiple programs concurrently to generate output for bars'
arch=('i686' 'x86_64')
url="https://github.com/sector-f/admiral"
license=('custom:BSD')
makedepends=('git' 'cargo')
optdepends=('lemonbar: for displaying information generated by admiral')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git://github.com/sector-f/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$_pkgname"
cargo build --release
}
package() {
cd "$srcdir/$_pkgname"
install -D target/release/${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|