mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
unrar: update to 5.7.1.
This commit is contained in:
parent
1c92c4d665
commit
797aa66460
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'unrar'
|
# Template file for 'unrar'
|
||||||
pkgname=unrar
|
pkgname=unrar
|
||||||
version=5.6.8
|
version=5.7.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=unrar
|
wrksrc=unrar
|
||||||
short_desc="Unarchiver for .rar files (non-free version)"
|
short_desc="Unarchiver for .rar files (non-free version)"
|
||||||
|
@ -8,14 +8,16 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="freeware"
|
license="freeware"
|
||||||
homepage="https://www.rarlab.com/rar_add.htm"
|
homepage="https://www.rarlab.com/rar_add.htm"
|
||||||
distfiles="https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz"
|
distfiles="https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz"
|
||||||
checksum=a4cc0ac14a354827751912d2af4a0a09e2c2129df5766576fa7e151791dd3dff
|
checksum=d208abcceecfee0084bb8a93e9b756319d906a3ac6380ee5d10285fb0ffc4d65
|
||||||
repository=nonfree
|
repository=nonfree
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i -e 's/^\(CXXFLAGS\)=\(.*\)/\1+=\2/' \
|
vsed -e 's/^\(CXXFLAGS\)=\(.*\)/\1+=\2/' \
|
||||||
-e 's/^\(LDFLAGS\)=\(.*\)/\1+=-lpthread \2/' makefile
|
-e 's/^\(LDFLAGS\)=\(.*\)/\1+=-lpthread \2/' \
|
||||||
|
-i makefile
|
||||||
make CXX="$CXX" LD="$LD" STRIP=: -f makefile
|
make CXX="$CXX" LD="$LD" STRIP=: -f makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin unrar
|
vbin unrar
|
||||||
vlicense license.txt LICENSE
|
vlicense license.txt LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue