summaryrefslogtreecommitdiff
path: root/pcr/gna-unrar/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-06 01:06:20 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:01 -0300
commitada15bcc35ffaf0683e7eb3a6fb18130f643171f (patch)
tree52d6175c70bc24193fe7561e5d8851072a42c213 /pcr/gna-unrar/PKGBUILD
parentec1084d33b92e1f437734bd1d80b736c2026c718 (diff)
mv gna-unrar to [pcr], due it's not support RARv3
Diffstat (limited to 'pcr/gna-unrar/PKGBUILD')
-rw-r--r--pcr/gna-unrar/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/gna-unrar/PKGBUILD b/pcr/gna-unrar/PKGBUILD
new file mode 100644
index 000000000..c29b72408
--- /dev/null
+++ b/pcr/gna-unrar/PKGBUILD
@@ -0,0 +1,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"
+}