* update cpio to 2.15-2
This commit is contained in:
parent
37e9233f33
commit
15a59bfa1f
20
cpio/.SRCINFO
Normal file
20
cpio/.SRCINFO
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
pkgbase = cpio
|
||||||
|
pkgdesc = A tool to copy files into or out of a cpio or tar archive
|
||||||
|
pkgver = 2.15
|
||||||
|
pkgrel = 2
|
||||||
|
url = https://www.gnu.org/software/cpio
|
||||||
|
arch = x86_64
|
||||||
|
arch = powerpc64le
|
||||||
|
arch = powerpc64
|
||||||
|
arch = powerpc
|
||||||
|
arch = riscv64
|
||||||
|
license = GPL-3.0-or-later
|
||||||
|
makedepends = git
|
||||||
|
makedepends = rsync
|
||||||
|
makedepends = wget
|
||||||
|
depends = glibc
|
||||||
|
source = git+https://git.savannah.gnu.org/git/cpio.git?signed#tag=v2.15
|
||||||
|
validpgpkeys = 325F650C4C2B6AD58807327A3602B07F55D0C732
|
||||||
|
b2sums = SKIP
|
||||||
|
|
||||||
|
pkgname = cpio
|
4
cpio/.nvchecker.toml
Normal file
4
cpio/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[cpio]
|
||||||
|
source = "git"
|
||||||
|
git = "https://git.savannah.gnu.org/git/cpio.git"
|
||||||
|
prefix = "v"
|
@ -1,36 +1,39 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: judd <jvinet@zeroflux.org>
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||||
|
# Contributor: judd <jvinet@zeroflux.org>
|
||||||
pkgname=cpio
|
pkgname=cpio
|
||||||
pkgver=2.15
|
pkgver=2.15
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
|
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
url="https://www.gnu.org/software/cpio"
|
url="https://www.gnu.org/software/cpio"
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=(https://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz{,.sig})
|
makedepends=('git' 'rsync' 'wget')
|
||||||
sha256sums=('efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e'
|
source=(git+https://git.savannah.gnu.org/git/cpio.git?signed#tag=v${pkgver})
|
||||||
'SKIP')
|
b2sums=('SKIP')
|
||||||
validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <gray@gnu.org>
|
validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <gray@gnu.org>
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${pkgname}"
|
||||||
|
./bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd "${pkgname}"
|
||||||
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
|
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
|
||||||
./configure --prefix=/usr --mandir=/usr/share/man
|
./configure --prefix=/usr --mandir=/usr/share/man
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd "${pkgname}"
|
||||||
make check
|
make check
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd "${pkgname}"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
rm -f "${pkgdir}/usr/bin/mt" "${pkgdir}/pkg/usr/share/man/man1/mt.1"
|
rm -r "${pkgdir}"/usr/libexec
|
||||||
rm -rf "${pkgdir}/usr/libexec"
|
rm -r "${pkgdir}"/usr/share/man/man8
|
||||||
rm -f "${pkgdir}/usr/share/man/man8/rmt.8"
|
|
||||||
# remove infodir
|
|
||||||
rm "$pkgdir/usr/share/info/dir"
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user