summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3399f13d0d03d4cfba5259942b85c6ebc45c7c16 (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
# Maintainer: Valerie Wolfe <sleeplessval@gmail.com>

pkgname=pride
pkgver=0.4.3
pkgrel=1
pkgdesc="Pride flags in the terminal."
url="https://git.sleeplessval.io/valerie/pride"
license=("MIT")
arch=("x86_64")
provides=("pride")
conflicts=("pride")
source=("https://git.sleeplessval.io/valerie/pride/archive/v$pkgver.tar.gz")
sha256sums=("62333ec4ad0d4e0e85edb349231c02ce0167f65a6972e32b5fc918ccc8c485bc")

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

package() {
    cd "$srcdir/$pkgname"
    install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm644 "man/$pkgname.6" "$pkgdir/usr/share/man/man6/$pkgname.6"
}