OCaml 4.14.0 rebuild
[arch-packages.git] / libtar / trunk / PKGBUILD
blobe6615a4e24985ec0aad678585bc10b83debd3839
1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org> 
3 # Contributor: Biru Ionut <ionut@archlinux.ro>
4 # Contributor: Eric Belanger <eric@archlinux.org>
5 # Contributor: Aurelien Foret <orelien@chez.com>
7 pkgname=libtar
8 pkgver=1.2.20
9 pkgrel=6
10 _git='9c2e044833c5e908f5be0a77991b08849021793e'
11 pkgdesc='C library for manipulating POSIX tar files'
12 arch=('x86_64')
13 url='https://repo.or.cz/w/libtar.git'
14 license=('BSD')
15 depends=('zlib')
16 source=("libtar-${_git}.tar.gz::https://github.com/tklauser/libtar/archive/${_git}.tar.gz")
17 sha256sums=('21d86460dd128f56cfa391e4bc82e91f98e84c2948a854e33daed5c58d4e9cb6')
19 build() {
20   cd "${srcdir}/${pkgname}-${_git}"
22   autoreconf -fi
23   ./configure \
24     --prefix=/usr \
25     --mandir=/usr/share/man \
26     --disable-static \
27     --disable-encap \
28     --disable-epkg-install
29   make
32 package() {
33   cd "${srcdir}/${pkgname}-${_git}"
35   make DESTDIR="${pkgdir}" install
36   install -D -m0644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE