blob: 3b18d5e8f4d5b92b6d36fda6076e7675680ffaaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=sharutils
pkgver=4.15.2
pkgrel=5
pkgdesc="Utilities for manipulating shell archives"
url="https://www.gnu.org/software/sharutils/"
arch="all"
license="GPL-3.0+"
depends="bzip2 xz"
makedepends="gettext-dev texinfo"
checkdepends="diffutils"
subpackages="$pkgname-lang $pkgname-doc"
source="https://ftp.gnu.org/gnu/sharutils/sharutils-$pkgver.tar.xz
format-security.patch
gcc-10.patch
"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/charset.alias
}
sha512sums="
80d0b804a0617e11e5c23dc0d59b218bbf93e40aaf5e9a5401a18ef9cb700390aab711e2b2e2f26c8fd5b8ef99a91d3405e01d02cadabcba7639979314e59f8d sharutils-4.15.2.tar.xz
51d1cc212d812c7756fe219803e24a57a87de1362f44fdba22568d09b04234899465607ef7caab230bae40ab634971e744b421afedcede229d987616b305c73d format-security.patch
4b5addb5dd738a3f8ef07fdbfd3dc2b5c31c86062419388249fe324dc64450b5dcb19269b7f47236df1ba926254211c41b8ecfa39f0efe7b537ffd1b2de5bdba gcc-10.patch
"
|