summaryrefslogtreecommitdiff
path: root/libre/atool-libre/PKGBUILD
blob: 7ec4d7c1eaf718f4455be5ef55fce658f4556c72 (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
38
39
40
41
42
43
44
45
# $Id$
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: leif_thande <leif.thande@gmail.com>
# Contributor: tranquility <trankas@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor (Parabola): Márcio Silva <coadde@adinet.com.uy>

_pkgname=atool
pkgname=atool-libre
pkgver=0.38.0
pkgrel=3
pkgdesc="A script for managing file archives of various types"
arch=('any')
url="http://www.nongnu.org/atool/"
license=('GPL3')
depends=('file' 'perl')
provides=("$_pkgname=$pkgver")
replaces=("$_pkgname")
conflicts=("$_pkgname")
optdepends=('bzip2: for using atool with bzip2 compressed archives'
            'cpio: for using atool with cpio archives'
            'gzip: for using atool with gzip compressed archives'
            'lha: for using atool with lha, lharc and similar archives'
            'xz: for using atool with lzma compressed archives'
            'lzop: for using atool with lzop compressed archives'
            'p7zip: for using atool with 7z archives'
            'tar: for using atool with tar archives'
            'zip: for using atool for creating zip archives'
            'unzip: for using atool for unpacking archives')

source=(http://savannah.nongnu.org/download/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('b967195facbe5e7c6535ac117aaa7f633b0eca174137c30c36a5200efb80047d')


build() {
  cd ${srcdir}/${_pkgname}-${pkgver}

  ./configure --prefix=/usr
}

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}

  make prefix=${pkgdir}/usr install
}