drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libarchive.a
-rwxr-xr-x root/root usr/lib/libarchive.la
-lrwxrwxrwx root/root usr/lib/libarchive.so -> libarchive.so.2.8.4
-lrwxrwxrwx root/root usr/lib/libarchive.so.2 -> libarchive.so.2.8.4
--rwxr-xr-x root/root usr/lib/libarchive.so.2.8.4
+lrwxrwxrwx root/root usr/lib/libarchive.so -> libarchive.so.12.0.4
+lrwxrwxrwx root/root usr/lib/libarchive.so.12 -> libarchive.so.12.0.4
+-rwxr-xr-x root/root usr/lib/libarchive.so.12.0.4
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libarchive.pc
drwxr-xr-x root/root usr/man/
-rw-r--r-- root/root usr/man/man1/bsdtar.1.gz
drwxr-xr-x root/root usr/man/man3/
-rw-r--r-- root/root usr/man/man3/archive_entry.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_acl.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_linkify.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_paths.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_perms.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_stat.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_entry_time.3.gz
-rw-r--r-- root/root usr/man/man3/archive_read.3.gz
-rw-r--r-- root/root usr/man/man3/archive_read_disk.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_read_set_options.3.gz
-rw-r--r-- root/root usr/man/man3/archive_util.3.gz
-rw-r--r-- root/root usr/man/man3/archive_write.3.gz
-rw-r--r-- root/root usr/man/man3/archive_write_disk.3.gz
+-rw-r--r-- root/root usr/man/man3/archive_write_set_options.3.gz
-rw-r--r-- root/root usr/man/man3/libarchive.3.gz
-rw-r--r-- root/root usr/man/man3/libarchive_internals.3.gz
drwxr-xr-x root/root usr/man/man5/
# Depends on: bzip2 xz zlib acl
name=libarchive
-version=2.8.4
-release=2
-source=(http://$name.googlecode.com/files/$name-$version.tar.gz)
+version=3.0.4
+release=1
+source=(https://github.com/downloads/$name/$name/$name-$version.tar.gz)
build() {
- cd libarchive-$version
+ cd $name-$version
# We're passing --without-lzmadec, because we want to use xz for
# LZMA support, not the obsolete lzmadec library.
#