unrar: little changes to build()

This commit is contained in:
Tim Biermann 2022-05-08 18:43:33 +02:00
parent 3124e38308
commit ebf75c39bb
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/YS1IZ5nfOkVpsfBSF0Og0698WftozRfuz+UGn6PmofrTX5KWMn1PQvaqTdH98FYP1Zwju2kIwDDX5OjW6g0tww=
SHA256 (Pkgfile) = 1c51a0325a020706fca6fcb11b9913c79028fb11f6c39f04954b15ec66b8430c
RWSE3ohX2g5d/UxOustvk/B1lTAAY5Ap0fFC91cNPJ8YQY6S66xhLPJnIwIbgZoaM3OKTRfgU8H9UAkxzQFtt5D62YyfB9DspAc=
SHA256 (Pkgfile) = 9c6eff884d6b0ffa948e485801f8c4a8447e12cca1db7e767c111d346fd6b641
SHA256 (.footprint) = d74185592e6529cf0090c3626f6fb89245c2afdb36aea39882a058f85d4153ea
SHA256 (unrarsrc-6.1.7.tar.gz) = de75b6136958173fdfc530d38a0145b72342cf0d3842bf7bb120d336602d88ed

View File

@ -9,6 +9,8 @@ source=(https://www.rarlab.com/rar/${name}src-$version.tar.gz)
build() {
cd $name
make CXXFLAGS="$CXXFLAGS" STRIP=:
sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i makefile
export LDFLAGS+=' -pthread'
make -j1 STRIP=:
make install DESTDIR=$PKG/usr
}