summaryrefslogtreecommitdiff
path: root/libre/unrar-libre/PKGBUILD
blob: 0096718b43202213f033852290049d8793b82a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Joshua Ismael Haase Hernández <hahj87@gmail.com>
_pkgbase=unrar
pkgname=unrar-libre
pkgver=0.0.1
pkgrel=1
pkgdesc="A free software library to decompress .rar files."
arch=('i686' 'x86_64' 'mips64el')
url="http://gna.org/projects/unrar/"
license=('GPL')
provides=(unrar)
conflicts=(unrar)
replaces=(unrar)
source=(http://download.gna.org/unrar/$_pkgbase-$pkgver.tar.gz)
md5sums=('ac284a6739e3b8c794e7f9e8c20ed8f8') #generate with 'makepkg -g'

build() {
  cd "$srcdir/$_pkgbase-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_pkgbase-$pkgver"

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: