opt/unrar/Pkgfile

18 lines
388 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Extracts RAR archives
2021-01-29 13:15:46 +01:00
# URL: https://www.rarlab.com/rar_add.htm
# Maintainer: Tim Biermann, tbier at posteo dot de
2006-02-23 16:26:10 +01:00
name=unrar
2023-12-18 20:49:45 +01:00
version=7.0.5
2006-02-23 16:26:10 +01:00
release=1
2020-07-11 08:37:34 +02:00
source=(https://www.rarlab.com/rar/${name}src-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
2021-01-29 13:15:46 +01:00
cd $name
2023-10-06 14:41:17 +02:00
2022-05-08 18:43:33 +02:00
sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i makefile
export LDFLAGS+=' -pthread'
make -j1 STRIP=:
2021-01-29 13:15:46 +01:00
make install DESTDIR=$PKG/usr
2006-02-23 16:26:10 +01:00
}