summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f9f7a83ebbcd92c5f90f05cae06f64cc72775fe (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
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: PryosCode <info@pryoscode.net>
pkgname="toru"
pkgver="1.0.0"
pkgrel="1"
pkgdesc="Pacman wrapper with AUR support."
arch=("x86_64")
url="https://github.com/PryosCode/toru"
license=("Apache-2.0")
depends=(
    "git"
    "autoconf"
    "automake"
    "binutils"
    "bison"
    "fakeroot"
    "file"
    "findutils"
    "flex"
    "gawk"
    "gcc"
    "gettext"
    "grep"
    "groff"
    "gzip"
    "libtool"
    "m4"
    "make"
    "pacman"
    "patch"
    "pkgconfig"
    "sed"
    "sudo"
    "texinfo"
    "which"
)
makedepends=("cargo")
source=("https://github.com/PryosCode/toru/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=("SKIP")

build() {
    cd $pkgname-$pkgver
    cargo build --release
}

package() {
    mkdir -p $pkgdir/usr/bin/
    mv $pkgname-$pkgver/target/release/toru $pkgdir/usr/bin/
}