summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e780f5e13279cb8a13209e508514dc733e91a842 (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
# Maintainer: Madison Lynch <madi@mxdi.xyz>
pkgname=rah-bin
_pkgname=rah
pkgver=1.2.1
pkgrel=2
pkgdesc="A simple AUR helper written in Rust"

arch=(x86_64)
url=https://deadgirl.dev/projects/rah
license=(MIT)

depends=(
    gcc-libs
    glibc
    git
    pacman
)
conflicts=(rah)

source=("${_pkgname}-${pkgver}-amd64.tar.gz::https://deadgirl.dev/projects/rah/releases/${_pkgname}-${pkgver}-amd64.tar.gz")
options=(!lto)
md5sums=(SKIP)

package() {
    cd "$srcdir/$_pkgname-$pkgver"

    install -Dm755 "./rah" "$pkgdir/usr/bin/rah"
    install -Dm644 "./rah.8" "$pkgdir/usr/man/man8/rah.8"
}