summaryrefslogtreecommitdiff
path: root/libre/unarchiver/PKGBUILD
blob: f0a08e8d13220c44b08e0bd96b52da74e4fe1a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: N30N <archlinux@alunamation.com>

pkgname=unarchiver
pkgver=3.0
pkgrel=1
pkgdesc="An Objective-C application for uncompressing archive files"
arch=('x86_64' 'i686')
url="http://wakaba.c3.cx/s/apps/unarchiver.html"
license=('LGPL2.1')
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip"
        "native_obj_exceptions.patch"
        "libz.patch")

build() {
  cd $srcdir/

  patch -Np1 -i native_obj_exceptions.patch
  patch -Np1 -i libz.patch
  
  cd XADMaster
  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  make -f Makefile.linux
}

package() {
  cd "$srcdir/XADMaster"
  install -d "$pkgdir/usr/bin/"
  install -m755 unar lsar "$pkgdir/usr/bin/"
}

# vim:set ts=2 sw=2 et:
md5sums=('c7c42cd3640bf477b79b21436344f098'
         '4fa4ecc6e4ba14d3b6952d064e728511'
         '665d01bf93191cc6f57dc80d8c1d3d5a')