summaryrefslogtreecommitdiff
path: root/libre/xarchiver-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 07:32:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 07:32:21 -0300
commita1037cb127e862a3383537910a63097bb050a4ea (patch)
tree1b5e9daee7790c3da0ffe34c8650df3405f7199d /libre/xarchiver-libre/PKGBUILD
parent827d13d88fa4fd0a895314feb3192ff61a2ed1e1 (diff)
downloadabslibre-a1037cb127e862a3383537910a63097bb050a4ea.tar.gz
abslibre-a1037cb127e862a3383537910a63097bb050a4ea.tar.bz2
abslibre-a1037cb127e862a3383537910a63097bb050a4ea.zip
xarchiver: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/xarchiver-libre/PKGBUILD')
-rw-r--r--libre/xarchiver-libre/PKGBUILD76
1 files changed, 0 insertions, 76 deletions
diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD
deleted file mode 100644
index a6965af8d..000000000
--- a/libre/xarchiver-libre/PKGBUILD
+++ /dev/null
@@ -1,76 +0,0 @@
-# $Id: PKGBUILD 111012 2014-05-12 01:13:40Z bgyorgy $
-# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
-# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
-# Contributor (Arch): Andrew Simmons <andrew.simmons@gmail.com>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-_pkgname=xarchiver
-pkgname=xarchiver-libre
-pkgver=0.5.3
-pkgrel=4.1
-pkgdesc="GTK+ frontend to various command line archivers, without nonfree unrar support"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://xarchiver.sourceforge.net/"
-license=('GPL')
-provides=("$_pkgname=$pkgver")
-conflicts=("$_pkgname")
-replaces=("$_pkgname")
-depends=('gtk2' 'desktop-file-utils')
-makedepends=('intltool')
-optdepends=('zip: ZIP support'
- 'unzip: ZIP support'
- 'p7zip: 7z support'
- 'arj: ARJ support'
- 'lzop: LZOP support'
- 'cpio: RPM support')
-install=xarchiver.install
-source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2
- xarchiver-0.5.3-fix-rpm-support.patch
- xarchiver-0.5.3-fix-double-escaping.patch
- xarchiver-0.5.3-fix-password-protected.patch
- xarchiver-0.5.3-add-mime-types.patch
- xarchiver-0.5.3-remove-nonfree-unrar-support.patch)
-md5sums=('fd390bbd2df76a5f8a007bdeae82d4aa'
- '812b93339f5e3332621f3c5abebfe277'
- '6178d7ab679b761469c880a8db991907'
- '35ab96d98521a0a36f3e9e9ec0969107'
- '0cee887b3c989ba2cdce9154813843fb'
- 'cf1788c180145adc3bc5d3572f8a883b')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- # Fix RPM support
- patch -Np1 -i ../xarchiver-0.5.3-fix-rpm-support.patch
-
- # Fix error when trying to create archives with spaces
- patch -Np1 -i ../xarchiver-0.5.3-fix-double-escaping.patch
-
- # Fix segfault when handling password protected files
- patch -Np1 -i ../xarchiver-0.5.3-fix-password-protected.patch
-
- # Add more MIME types in the desktop file
- patch -Np1 -i ../xarchiver-0.5.3-add-mime-types.patch
-
- # Remove nonfree unRAR support
- patch -Np1 -i ../xarchiver-0.5.3-remove-nonfree-unrar-support.patch
- rm -v src/rar.{c,h}
-
- # Fix po files
- cd po
- for file in *.po; do
- intltool-update ${file%.*}
- msgattrib --no-obsolete -o $file $file
- done
-}
-
-build() {
- cd $_pkgname-$pkgver
- ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4
- make
-}
-
-package() {
- cd $_pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}