blob: 6156d3a3e29499de093ad474fbcff1f3eae79080 (
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
|
# Maintainer: Madison Lynch <madi@mxdi.xyz>
pkgname=rah
pkgver=1.2.1
pkgrel=2
pkgdesc="A simple AUR helper written in Rust"
arch=(any)
url=https://deadgirl.dev/projects/rah
license=(MIT)
makedepends=(rust)
depends=(
gcc-libs
glibc
git
pacman
)
conflicts=(rah-bin)
source=("${pkgname}-v${pkgver}.tar.gz::https://gitlab.com/deadgirl/rah/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
options=(!lto)
md5sums=(SKIP)
build() {
cd "$srcdir/$pkgname-v$pkgver"
cargo build --release
}
package() {
cd "$srcdir/$pkgname-v$pkgver"
install -Dm755 "target/release/rah" "$pkgdir/usr/bin/rah"
install -Dm644 "doc/rah.8" "$pkgdir/usr/man/man8/rah.8"
}
|