diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
commit | 0a088f3c285e53ee377271f42c16071e3ee5bafd (patch) | |
tree | ee094061e4ec6cd7808201f3c75c7f343ef3ba3a /libre/atool/PKGBUILD | |
parent | 0be822175bb3cef0534b9a0597e84ae1ee6374ec (diff) | |
parent | 035f2fd609cd247ac0430f15cad3af94ce79f5f8 (diff) | |
download | abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.gz abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.bz2 abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/atool/PKGBUILD')
-rw-r--r-- | libre/atool/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libre/atool/PKGBUILD b/libre/atool/PKGBUILD new file mode 100644 index 000000000..dca366b88 --- /dev/null +++ b/libre/atool/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 115146 2014-07-05 17:57:54Z jlichtblau $ +# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor (Arch): leif_thande <leif.thande@gmail.com> +# Contributor (Arch): tranquility <trankas@gmail.com> +# Contributor (Arch): Daniel J Griffiths <ghost1227@archlinux.us> +# Maintainer: Márcio Silva <coadde@parabola.nu> +# Contributor: André Silva <emulatorman@parabola.nu> + +pkgname=atool +pkgver=0.39.0 +pkgrel=3.parabola1 +pkgdesc="A script for managing file archives of various types, without nonfree unace and unrar support" +arch=('any') +url="http://www.nongnu.org/$pkgname/" +license=('GPL3') +depends=('file' 'perl') +replaces=("$pkgname-libre") +conflicts=("$pkgname-libre") +optdepends=("bzip2: for using $pkgname with bzip2 compressed archives" + "cpio: for using $pkgname with cpio archives" + "gzip: for using $pkgname with gzip compressed archives" + "lha: for using $pkgname with lha, lharc and similar archives" + "xz: for using $pkgname with lzma compressed archives" + "lzop: for using $pkgname with lzop compressed archives" + "p7zip: for using $pkgname with 7z archives" + "tar: for using $pkgname with tar archives" + "zip: for using $pkgname for creating zip archives" + "unzip: for using $pkgname for unpacking archives") +changelog=$pkgname.changelog +source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz + libre.patch) +sha256sums=('aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b' + 'c9aa3c72e4c979d236dd659f16cc1eb6841f0860e6ef4d2c90f021d6e5aca578') + +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + + # remove nonfree unace and unrar support + patch -Np1 -i ../libre.patch +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make prefix="${pkgdir}"/usr install +} |