summaryrefslogtreecommitdiff
path: root/libre/atool-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/atool-libre')
-rw-r--r--libre/atool-libre/PKGBUILD53
-rw-r--r--libre/atool-libre/atool.changelog18
-rw-r--r--libre/atool-libre/rePKGBUILD27
3 files changed, 98 insertions, 0 deletions
diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD
new file mode 100644
index 000000000..4ac426440
--- /dev/null
+++ b/libre/atool-libre/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
+# 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>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Contributor (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=atool
+pkgname=atool-libre
+pkgver=0.39.0
+pkgrel=1.2
+pkgdesc="A script for managing file archives of various types, with unar support included and nonfree unace recommendation removed"
+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'
+ 'unar: for using atool for unpacking rar archives'
+ 'zip: for using atool for creating zip archives'
+ 'unzip: for using atool for unpacking zip archives')
+
+source=(http://savannah.nongnu.org/download/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b')
+
+prepare() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ # replace nonfree unrar to unar
+ sed -i 's|unrar|unar|g' $(grep -rlI 'unrar')
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ ./configure --prefix=/usr
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ make prefix=${pkgdir}/usr install
+}
diff --git a/libre/atool-libre/atool.changelog b/libre/atool-libre/atool.changelog
new file mode 100644
index 000000000..ce0b12c2b
--- /dev/null
+++ b/libre/atool-libre/atool.changelog
@@ -0,0 +1,18 @@
+2012-04-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * atool 0.39.0-1
+
+2012-02-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * atool 0.38.0-2
+ * signing package
+
+2011-08-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Updated to major version 0.38.0
+
+2009-08-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Updated to major version 0.37.0
+
+2008-10-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Updated to major version 0.36.0
+
+2008-10-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Moved to [community] repo
diff --git a/libre/atool-libre/rePKGBUILD b/libre/atool-libre/rePKGBUILD
new file mode 100644
index 000000000..e684320d0
--- /dev/null
+++ b/libre/atool-libre/rePKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+source PKGBUILD
+unset build package md5sums source
+CARCH=any
+PKGEXT=.pkg.tar.gz
+_repo=community # Put the repo here
+_mirror=http://mirrors.kernel.org/archlinux # Put mirror here
+source=(PKGBUILD
+ "${_mirror}/${_repo}/os/i686/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT"
+ # files for pkg modifications below this line
+ )
+options=(!strip)
+
+build() {
+ cd "${srcdir}/"
+ rm .{INSTALL,PKGINFO} || true
+ # put actions for package modifications below this line
+
+}
+
+package() {
+ find ${srcdir} -maxdepth 1 -type l -delete
+ cp -a ${srcdir}/* ${pkgdir}
+}
+
+
+# vim:set ts=2 sw=2 et: