PKGBUILDs/extra/unrar/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
631 B
Bash

# $Id: PKGBUILD 50169 2009-08-24 04:51:56Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>
pkgname=unrar
pkgver=3.9.6
pkgrel=1
pkgdesc="The RAR uncompression program"
arch=('i686' 'x86_64')
depends=('gcc-libs')
url="http://rarlab.com"
license=('custom')
source=(http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz)
md5sums=('07d7c5dd3d3b778fc1870a981c43a3d3')
build() {
cd ${srcdir}/${pkgname}
make -f makefile.unix
install -Dm755 unrar ${pkgdir}/usr/bin/unrar
# install license
install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}