summaryrefslogtreecommitdiff
path: root/libre/unarchiver/PKGBUILD
blob: dcab9e34240dacbf815c6c0dffb6f35cb60c94ec (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
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=unarchiver
pkgver=2.7
pkgrel=2
pkgdesc="An Objective-C application for uncompressing archive files"
arch=('x86_64' 'i686')
url="http://wakaba.c3.cx/s/apps/unarchiver.html"
license=('LGPL')
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
source=(http://theunarchiver.googlecode.com/files/TheUnarchiver"$pkgver"_src.zip)
md5sums=('c6aed2fcb2b68d86a9d9d4fc39c4ea41')
replaces=('unrar')
conflicts=('unrar')
provides=('unrar')

build() {
  cd "$srcdir/The Unarchiver/XADMaster"

  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  make -f Makefile.linux unar lsar
}

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

# vim:set ts=2 sw=2 et: