In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
36 lines
812 B
Bash
36 lines
812 B
Bash
# Maintainer: Eon Jeong <administrator@korea.ac.kr>
|
|
|
|
pkgname=cpio
|
|
pkgver=2.13
|
|
pkgrel=1
|
|
pkgdesc="cpio - copy files to/from archives"
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.gnu.org/software/cpio/"
|
|
license=('GPLv3')
|
|
depends=('libintl')
|
|
makedepends=('gettext-devel' 'autotools')
|
|
options=('staticlibs')
|
|
source=(https://ftp.gnu.org/pub/gnu/cpio/cpio-${pkgver}.tar.gz)
|
|
sha256sums=('e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure \
|
|
--build=${CHOST} \
|
|
--host=${CHOST} \
|
|
--target=${CHOST} \
|
|
--prefix=/usr
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
# remove rmt
|
|
rm -rf ${pkgdir}/usr/libexec
|
|
rm -rf ${pkgdir}/usr/share/man/man8
|
|
rm -f ${pkgdir}/usr/lib/charset.alias
|
|
}
|