aboutsummaryrefslogtreecommitdiffstats
path: root/community/ripgrep/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ripgrep/APKBUILD')
-rw-r--r--community/ripgrep/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/ripgrep/APKBUILD b/community/ripgrep/APKBUILD
index 2c045df5c6..565ae5701f 100644
--- a/community/ripgrep/APKBUILD
+++ b/community/ripgrep/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=ripgrep
-pkgver=12.1.1
-pkgrel=1
+pkgver=13.0.0
+pkgrel=0
pkgdesc="ripgrep combines the usability of The Silver Searcher with the raw speed of grep"
url="https://github.com/BurntSushi/ripgrep"
arch="all !s390x !mips !mips64" # limited by cargo
@@ -14,7 +14,11 @@ subpackages="$pkgname-doc
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-fish-completion::noarch
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/ripgrep/archive/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/ripgrep/archive/$pkgver.tar.gz
+ minimize-size.patch
+ "
+
+export PCRE2_SYS_STATIC=0 # use system libpcre2
build() {
cargo build --release --locked --features 'pcre2'
@@ -52,4 +56,7 @@ zshcomp() {
"$subpkgdir/usr/share/zsh/site-functions/_rg"
}
-sha512sums="9e2a16043be6c7727d49a44f6db7fdb41413efc869139186729985ff86dee5c6531c663352f4019b730eb3a6c46f26d46df3738d4a0cbbc39ab773f320eb9e59 ripgrep-12.1.1.tar.gz"
+sha512sums="
+9321532e4bf633ecd200d98873b6773230d046d7bd075f223f09a68531cef4e4138f01c6b41e0f8697805963ae7e0d44d542c6d94025d9a06fbbef3562c17734 ripgrep-13.0.0.tar.gz
+e6f4c198ff8267922846114258d324c5c466a79c9a3e4cc7ee0b25cddd1f4aebbf2b46413e1858aecab4f0f585086e0cb7deaaed73705af233662606da3295b3 minimize-size.patch
+"