In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# $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>
|
|
|
|
pkgname=atool
|
|
pkgver=0.39.0
|
|
pkgrel=1
|
|
pkgdesc="A script for managing file archives of various types"
|
|
arch=('any')
|
|
url="https://www.nongnu.org/atool/"
|
|
license=('GPL3')
|
|
depends=('file' 'perl')
|
|
makedepends=('autotools')
|
|
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'
|
|
'unace: for using atool with ace archives'
|
|
'zip: for using atool for creating zip archives'
|
|
'unzip: for using atool for unpacking archives')
|
|
source=(https://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
|
|
sed -i 's/ln -s -f/cp -p -i/' Makefile
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
make prefix="${pkgdir}"/usr install
|
|
|
|
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
install -Dm644 extra/bash-completion-atool_0.1-1 "${pkgdir}"/usr/share/bash-completion/completions/atool
|
|
}
|