summaryrefslogtreecommitdiff
path: root/libre/mate-file-archiver-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-03 14:09:45 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-03 14:09:45 -0300
commit308f6ff034c928c0c4fc2ce168df7192ca2b1209 (patch)
tree49603bf604b0d3b3e4e0f1d71d0a52380933aa36 /libre/mate-file-archiver-libre/PKGBUILD
parent99d72f453ab00a43e11f6903bf34d6cd27962a4f (diff)
parent964755f48fefde84fce71781d0744e2158f60814 (diff)
downloadabslibre-308f6ff034c928c0c4fc2ce168df7192ca2b1209.tar.gz
abslibre-308f6ff034c928c0c4fc2ce168df7192ca2b1209.tar.bz2
abslibre-308f6ff034c928c0c4fc2ce168df7192ca2b1209.zip
Merge branch 'master' of vparabola:abslibre
Conflicts: pcr/pandoc/PKGBUILD
Diffstat (limited to 'libre/mate-file-archiver-libre/PKGBUILD')
-rw-r--r--libre/mate-file-archiver-libre/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/mate-file-archiver-libre/PKGBUILD b/libre/mate-file-archiver-libre/PKGBUILD
new file mode 100644
index 000000000..5072dd583
--- /dev/null
+++ b/libre/mate-file-archiver-libre/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+_pkgname=mate-file-archiver
+pkgname=mate-file-archiver-libre
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Archive manipulator for MATE, with unar recommendation included and nonfree unace recommendation removed"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+depends=('bzip2' 'desktop-file-utils' 'gtk2' 'gzip' 'libarchive'
+ 'mate-file-manager' 'tar')
+makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser')
+optdepends=('arj: for ARJ support'
+ 'p7zip: for 7zip support'
+ 'unar: for RAR extract support'
+ 'unzip: for ZIP extract support'
+ 'zip: for ZIP support')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.6/${_pkgname}-${pkgver}.tar.xz"
+ fr-rpm-bsdtar.patch)
+sha1sums=('53a28d6fb559151c0b8d6f9a658113c77cdb938a'
+ '219b05a979bf6f249aaae27964f02345fd81168d')
+install=${_pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ # This patch 'depends' on libarchive
+ patch -Np1 -i "${srcdir}/fr-rpm-bsdtar.patch"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgname} \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-packagekit
+ mate-doc-prepare --force
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}