Skip to content

Commit

Permalink
* add libtar
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Baldeck committed Mar 6, 2019
1 parent 19ec5e0 commit 5941a14
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions libtar/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Christian Hesse <mail@eworm.de>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Biru Ionut <ionut@archlinux.ro>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>

pkgname=libtar
pkgver=1.2.20
pkgrel=4
_git='9c2e044833c5e908f5be0a77991b08849021793e'
pkgdesc='C library for manipulating POSIX tar files'
arch=(x86_64 powerpc64le)
url='https://repo.or.cz/w/libtar.git'
license=('BSD')
depends=('zlib')
source=("libtar-${_git}.tar.gz::https://github.com/tklauser/libtar/archive/${_git}.tar.gz")
sha256sums=('21d86460dd128f56cfa391e4bc82e91f98e84c2948a854e33daed5c58d4e9cb6')

build() {
cd "${srcdir}/${pkgname}-${_git}"

autoreconf -fi
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-static \
--disable-encap \
--disable-epkg-install
make
}

package() {
cd "${srcdir}/${pkgname}-${_git}"

make DESTDIR="${pkgdir}" install
install -D -m0644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}

0 comments on commit 5941a14

Please sign in to comment.