unrar: update to 4.1.2, set nonfree.
This commit is contained in:
parent
30170d50a0
commit
919c1fc56c
|
@ -1,24 +1,24 @@
|
|||
# Template file for 'unrar'
|
||||
pkgname=unrar
|
||||
version=3.9.10
|
||||
version=4.1.2
|
||||
wrksrc=unrar
|
||||
distfiles="http://www.rarlab.com/rar/unrarsrc-$version.tar.gz"
|
||||
revision=1
|
||||
nonfree=yes
|
||||
homepage="http://www.rarlab.com/rar"
|
||||
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
|
||||
short_desc="Unarchiver for .rar files (non-free version)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=3b4627d8f5700588bc594afee6911865f55201625299f414438a654da488207a
|
||||
license="freeware - see /usr/share/licenses/unrar/license.txt"
|
||||
checksum=b2e55e2c417634a76a5b593844234579f965d384b02fff83c524da37b473453d
|
||||
long_desc="
|
||||
Unrar can extract files from .rar archives. If you want to create .rar
|
||||
archives, install package rar."
|
||||
|
||||
do_build()
|
||||
{
|
||||
do_build() {
|
||||
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile.unix
|
||||
make ${makejobs} -f makefile.unix
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -D -m755 ${wrksrc}/unrar ${DESTDIR}/usr/bin/unrar
|
||||
install -D -m644 license.txt \
|
||||
${DESTDIR}/usr/share/licenses/unrar/license.txt
|
||||
do_install() {
|
||||
vinstall unrar 755 usr/bin
|
||||
vinstall license.txt 644 usr/share/licenses/unrar
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue