summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/unrar/PKGBUILD
blob: 6b686169a614574d9c9b8328c8bb3245d2fb0dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 18913 2008-11-10 11:16:31Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>

pkgname=unrar
pkgver=3.8.5
pkgrel=1
pkgdesc="The RAR uncompression program"
arch=('i686' 'x86_64')
depends=('gcc-libs')
url="http://rarlab.com"
license=('custom')
replaces=('rar')
source=(http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz)
md5sums=('875688e6a144a3f75d2a6a0da3e43f8b')

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.txt
}