-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
26 lines (23 loc) · 720 Bytes
/
PKGBUILD
File metadata and controls
26 lines (23 loc) · 720 Bytes
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
# Maintainer: MostlyK <bruvistrue93@gmail.com>
pkgname=yappus
pkgver=1.1.1
pkgrel=2
pkgdesc="A terminal interface for your AI terminal assistant."
arch=('x86_64')
url="https://github.com/MostlyKIGuess/Yappus-Term"
license=('MIT')
depends=('gcc-libs' 'oniguruma')
makedepends=('rust' 'cargo' 'oniguruma')
source=("git+https://github.com/MostlyKIGuess/Yappus-Term.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/Yappus-Term"
export ONIG_SYSTEM_LIBONIG=1
export RUSTFLAGS="${RUSTFLAGS} -Clink-arg=-lonig"
cargo build --release
}
package() {
cd "$srcdir/Yappus-Term"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
}