Compare commits
No commits in common. "9ea951ce8ed89ee0c56fb23b5b0e9eb04a75f09f" and "25ac8b0a6f755a25be5f77e295a7fcede3253899" have entirely different histories.
9ea951ce8e
...
25ac8b0a6f
|
@ -1,3 +0,0 @@
|
|||
*/*
|
||||
!*/.SRCINFO
|
||||
!*/PKGBUILD
|
|
@ -1,24 +0,0 @@
|
|||
pkgbase = paru
|
||||
pkgdesc = Feature packed AUR helper
|
||||
pkgver = 1.11.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/morganamilo/paru
|
||||
arch = i686
|
||||
arch = pentium4
|
||||
arch = x86_64
|
||||
arch = arm
|
||||
arch = armv7h
|
||||
arch = armv6h
|
||||
arch = aarch64
|
||||
license = GPL3
|
||||
makedepends = cargo
|
||||
depends = git
|
||||
depends = pacman
|
||||
optdepends = asp: downloading repo pkgbuilds
|
||||
optdepends = bat: colored pkgbuild printing
|
||||
optdepends = devtools: build in chroot
|
||||
backup = etc/paru.conf
|
||||
source = paru-1.11.1.tar.gz::https://github.com/Morganamilo/paru/archive/v1.11.1.tar.gz
|
||||
sha256sums = 42cefa8cdf48e3aec3f9922235f1e1126a9fe3262f1644494e1be51980e520d8
|
||||
|
||||
pkgname = paru
|
|
@ -1,46 +0,0 @@
|
|||
# Maintainer: blek! <me@blek.codes>
|
||||
pkgname=paru
|
||||
pkgver=1.11.1
|
||||
pkgrel=1
|
||||
pkgdesc='Feature packed AUR helper'
|
||||
url='https://github.com/morganamilo/paru'
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/Morganamilo/paru/archive/v$pkgver.tar.gz")
|
||||
backup=("etc/paru.conf")
|
||||
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
|
||||
license=('GPL3')
|
||||
makedepends=('cargo')
|
||||
depends=('git' 'pacman')
|
||||
optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot')
|
||||
sha256sums=('42cefa8cdf48e3aec3f9922235f1e1126a9fe3262f1644494e1be51980e520d8')
|
||||
|
||||
build () {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
if pacman -T pacman-git > /dev/null; then
|
||||
_features+="git,"
|
||||
fi
|
||||
|
||||
if [[ $CARCH != x86_64 ]]; then
|
||||
export CARGO_PROFILE_RELEASE_LTO=off
|
||||
fi
|
||||
|
||||
cargo build --locked --features "${_features:-}" --release --target-dir target
|
||||
./scripts/mkmo locale/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
install -Dm755 target/release/paru "${pkgdir}/usr/bin/paru"
|
||||
install -Dm644 paru.conf "${pkgdir}/etc/paru.conf"
|
||||
|
||||
install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8"
|
||||
install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5"
|
||||
|
||||
install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/paru.bash"
|
||||
install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/paru.fish"
|
||||
install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_paru"
|
||||
|
||||
install -d "$pkgdir/usr/share/"
|
||||
cp -r locale "$pkgdir/usr/share/"
|
||||
}
|
Loading…
Reference in New Issue