summaryrefslogtreecommitdiff
path: root/libre/gna-unrar/PKGBUILD
blob: c29b72408e074497ee53b7c6aced27a68abed9df (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
30
31
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

# Note: This is related to unrar-free on AUR.  If AUR:unrar-free comes
# to Parabola, it should be as "gna-unrar-cvs", as the AUR package
# builds the latest version from CVS (2007; 0.0.1 is from 2004).

_pkgname=unrar
pkgname=gna-unrar
pkgver=0.0.1
url=(http://home.gna.org/unrar/)
license=(GPL)
source=(http://download.gna.org/$_pkgname/$_pkgname-$pkgver.tar.gz)
md5sums=('ac284a6739e3b8c794e7f9e8c20ed8f8')

pkgrel=1
arch=(i686 x86_64)

provides=(unrar)
replaces=(unrar)
conflicts=(unrar)

build() {
	cd "$srcdir/$_pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/$_pkgname-$pkgver"
	make install DESTDIR="$pkgdir"
}