-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Baldeck
committed
Mar 6, 2019
1 parent
19ec5e0
commit 5941a14
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |