From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/aria2/MAKEPKG | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 opt/aria2/MAKEPKG (limited to 'opt/aria2/MAKEPKG') diff --git a/opt/aria2/MAKEPKG b/opt/aria2/MAKEPKG new file mode 100644 index 0000000..0a66e45 --- /dev/null +++ b/opt/aria2/MAKEPKG @@ -0,0 +1,45 @@ +#!/bin/mkpkg +# description: Download utility supporting HTTP(S), FTP, BitTorrent +# url: https://aria2.github.io/ + +name=aria2 +version=1.37.0 +release=1 +depends=(libressl libxml2 zlib) +source=(https://github.com/aria2/aria2/releases/download/release-$version/$name-$version.tar.xz) + +sha256sums=( + "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b" +) + +i +patch() { + cd $name-$version + sed -i 's|^#endif // D_COMMON_H|#include \n&|' src/common.h +} + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --disable-nls \ + --without-gnutls \ + --without-libnettle \ + --without-libgcrypt \ + --with-openssl + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share/man/ru + rm -rf $PKG/usr/share/man/pt + rm -rf $PKG/usr/share/doc +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh -- cgit v1.3.1