summaryrefslogtreecommitdiff
path: root/pcr/gna-unrar
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/gna-unrar')
-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"
+}