summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b696edc68f005ff62d838b4c8e9192984aab53c (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
# shellcheck shell=bash
# shellcheck disable=SC2034,SC2148,SC2154

# Maintainer: Zeke Sonxx <zeke@zekesonxx.com>
pkgname=boldline
pkgver=0.1.1
pkgrel=1
pkgdesc="Small utility to generate a bold line in a repeated line of text"
arch=('i686' 'x86_64')
url="https://github.com/zekesonxx/boldline"
license=('Apache')
groups=()
depends=()
makedepends=('rust' 'cargo')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("boldline::git+https://github.com/zekesonxx/boldline#tag=${pkgver}")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

build() {
	cd "$srcdir/$pkgname" || exit
	cargo build --release
}

package() {
  install -D -m755 "${srcdir}/boldline/target/release/boldline" "${pkgdir}/usr/bin/boldline"
}