[arch-commits] Commit in libarchive/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Tue Sep 4 07:28:16 UTC 2018
Date: Tuesday, September 4, 2018 @ 07:28:16
Author: eworm
Revision: 333245
archrelease: copy trunk to testing-x86_64
Added:
libarchive/repos/testing-x86_64/
libarchive/repos/testing-x86_64/PKGBUILD
(from rev 333244, libarchive/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libarchive/repos/testing-x86_64/PKGBUILD (from rev 333244, libarchive/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-09-04 07:28:16 UTC (rev 333245)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=libarchive
+pkgver=3.3.3
+pkgrel=1
+pkgdesc='Multi-format archive and compression library'
+arch=(x86_64)
+url='http://libarchive.org/'
+license=(BSD)
+depends=(acl attr bzip2 expat lz4 openssl xz zlib zstd)
+provides=(libarchive.so)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('720da414e7aebb255fcdaee106894e4d30e2472ac1390c2c15b70c84c7479658')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --without-xml2 \
+ --without-nettle \
+ --disable-static
+
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
+}
More information about the arch-commits
mailing list