#!/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