summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/unrar-libre/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/unrar-libre/PKGBUILD b/libre/unrar-libre/PKGBUILD
new file mode 100644
index 000000000..e08e90220
--- /dev/null
+++ b/libre/unrar-libre/PKGBUILD
@@ -0,0 +1,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')
+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: