This commit is contained in:
Valeria Fadeeva 2023-05-05 12:43:29 +05:00
parent 5312033169
commit c51de17c3d
12 changed files with 242 additions and 3 deletions

@ -1 +0,0 @@
Subproject commit 9f00c1bad581ba6a3e96158dfbbabd693a5ee179

@ -1 +0,0 @@
Subproject commit f58f4adbe53ed7929d226c738581fb5b6006126f

25
core/paru-bin/.SRCINFO Normal file
View File

@ -0,0 +1,25 @@
pkgbase = paru-bin
pkgdesc = Feature packed AUR helper
pkgver = 1.11.2
pkgrel = 1
url = https://github.com/morganamilo/paru
arch = x86_64
arch = aarch64
arch = armv7h
license = GPL3
depends = git
depends = pacman
optdepends = asp: downloading repo pkgbuilds
optdepends = bat: colored pkgbuild printing
optdepends = devtools: build in chroot
provides = paru
conflicts = paru
backup = etc/paru.conf
source_x86_64 = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-x86_64.tar.zst
sha256sums_x86_64 = 8cb2faa8098f259c5faffe2c3e94cdc4f0d4dc1a59921b818f1ec0fc50deb278
source_aarch64 = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-aarch64.tar.zst
sha256sums_aarch64 = ff9272600e5e0b4e380ced5376a2c2ee480f34e84456235dec785c63378ec804
source_armv7h = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-armv7h.tar.zst
sha256sums_armv7h = c73b0f4dcba0dd45c222c6a00a923c7811be29a1ff1ab8972bac2c0b569e5968
pkgname = paru-bin

9
core/paru-bin/.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
.git
*.pkg.tar
*.pkg.tar.*
*.zst
*.zst.*
pkg/
src/
.idea/
paru*

35
core/paru-bin/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Morgan <morganamilo@archlinux.org>
pkgname=paru-bin
pkgver=1.11.2
pkgrel=1
pkgdesc='Feature packed AUR helper'
url='https://github.com/morganamilo/paru'
source_x86_64=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-x86_64.tar.zst")
source_aarch64=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-aarch64.tar.zst")
source_armv7h=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-armv7h.tar.zst")
backup=("etc/paru.conf")
arch=('x86_64' 'aarch64' 'armv7h')
license=('GPL3')
depends=('git' 'pacman')
optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot')
conflicts=('paru')
provides=('paru')
sha256sums_x86_64=('8cb2faa8098f259c5faffe2c3e94cdc4f0d4dc1a59921b818f1ec0fc50deb278')
sha256sums_aarch64=('ff9272600e5e0b4e380ced5376a2c2ee480f34e84456235dec785c63378ec804')
sha256sums_armv7h=('c73b0f4dcba0dd45c222c6a00a923c7811be29a1ff1ab8972bac2c0b569e5968')
package() {
cd "$srcdir/"
install -Dm755 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"
cp -r locale "$pkgdir/usr/share/"
}

@ -1 +0,0 @@
Subproject commit a3fa663435f942314739c7d27c298dedf80d5411

27
core/paru-git/.SRCINFO Normal file
View File

@ -0,0 +1,27 @@
pkgbase = paru-git
pkgdesc = Feature packed AUR helper
pkgver = 1.7.3.r22.g1ed1f29
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 = glibc
depends = git
depends = pacman
optdepends = asp: downloading repo pkgbuilds
optdepends = bat: colored pkgbuild printing
optdepends = devtools: build in chroot
provides = paru
conflicts = paru
backup = etc/paru.conf
source = git+https://github.com/morganamilo/paru
sha256sums = SKIP
pkgname = paru-git

9
core/paru-git/.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
.git
*.pkg.tar
*.pkg.tar.*
*.zst
*.zst.*
pkg/
src/
.idea/
paru*

58
core/paru-git/PKGBUILD Normal file
View File

@ -0,0 +1,58 @@
# Maintainer: Morgan <morganamilo@archlinux.org>
pkgname=paru-git
_pkgname=paru
pkgver=1.11.2.r167.g257e011
pkgrel=1
pkgdesc='Feature packed AUR helper'
url='https://github.com/morganamilo/paru'
source=("git+https://github.com/morganamilo/paru")
backup=("etc/paru.conf")
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
license=('GPL3')
makedepends=('cargo')
depends=('glibc' 'git' 'pacman')
optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot')
conflicts=('paru')
provides=('paru')
sha256sums=(SKIP)
build () {
cd "$srcdir/$_pkgname"
if pacman -T pacman-git > /dev/null; then
_features+="git,"
fi
if [[ $(rustc -V) == *"nightly"* ]]; then
_features+="backtrace,"
fi
if [[ $CARCH != x86_64 ]]; then
export CARGO_PROFILE_RELEASE_LTO=off
fi
PARU_VERSION=$pkgver cargo build --locked --features "${_features:-}" --release --target-dir target
./scripts/mkmo locale/
}
package() {
cd "$srcdir/$_pkgname"
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/"
}
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

24
core/paru/.SRCINFO Normal file
View File

@ -0,0 +1,24 @@
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

9
core/paru/.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
.git
*.pkg.tar
*.pkg.tar.*
*.zst
*.zst.*
pkg/
src/
.idea/
paru*

46
core/paru/PKGBUILD Normal file
View File

@ -0,0 +1,46 @@
# Maintainer: Morgan <morganamilo@archlinux.org>
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/"
}