aports/main/diffutils/APKBUILD

37 lines
803 B
Text
Raw Permalink Normal View History

2011-11-22 10:45:53 +00:00
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
2009-01-20 08:53:29 +00:00
pkgname=diffutils
2025-04-12 17:01:56 +02:00
pkgver=3.12
2023-05-21 13:59:11 +00:00
pkgrel=0
2009-01-20 08:53:29 +00:00
pkgdesc="Show differences among files"
subpackages="$pkgname-doc"
url="https://www.gnu.org/software/diffutils/"
arch="all"
license="GPL-3.0-or-later"
checkdepends="perl"
2023-05-21 13:59:11 +00:00
source="https://ftp.gnu.org/pub/gnu/diffutils/diffutils-$pkgver.tar.xz"
2016-08-11 21:43:14 -04:00
2009-01-20 08:53:29 +00:00
build() {
2023-02-26 12:36:11 +00:00
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
make
}
check() {
make check
2010-03-15 07:26:08 +00:00
}
package() {
2009-01-20 08:53:29 +00:00
make install DESTDIR=$pkgdir
}
2010-03-15 07:26:08 +00:00
2021-08-03 21:45:54 +00:00
sha512sums="
2025-04-12 17:01:56 +02:00
10b17cf1dcdfa9ca0e5db91d62c4a079ebe9fd7eafa3aaebd4eb7e6206e4d753f348496622aa281e1bd7f7fcde65ce4a886dcc4acbb59332ef980f224197b4e4 diffutils-3.12.tar.xz
2021-08-03 21:45:54 +00:00
"