blob: 0c9e51ea32a9453c0c09ead00c73687fdfbf1b0c (
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
50
51
52
53
54
55
56
|
#!/bin/mkpkg
# description: Compression and file packaging utility
# url: https://infozip.sourceforge.net/Zip.html
name=zip
version=3.0
release=1
depends=(bzip2)
source=(https://downloads.sourceforge.net/sourceforge/infozip/zip30.tar.gz
zipnote.patch
zip-3.0-no-crypt.patch
zip-3.0-pic.patch
zip-3.0-currdir.patch
zip-3.0-exec-shield.patch
zip-gnu89-build.patch
zip-3.0-format-security.patch)
sha256sums=(
"f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369"
"89249a3f1fdf838b795ce432a2d763fdbe913d6a146541e41b7a2e2769291ba0"
"32d263c492dbc2b37b71d0aa80e566283422e8e6493d91f8aa12946d6d587a4a"
"afca923887828f6ccdcb98bcb1130f138d014614ca49c2a2526bd0fdc91dda6e"
"44cac3d4e8b447988b6e4eeb4bb6e701110cedfb09ea49eac471011328c8acab"
"10f0f3756a2415e33edf1455373b322404962b743b3a52a757b669e47dd7f1b2"
"74c767b5c6699c0fbb1649c93182d6aa89d595e115444cb67a3d380009fe7c1c"
"3759134487afad9c63e2e9693aa05b9dcc67f55a9ef961e82074b587b094292a"
)
build() {
cd zip30
for p in \
zip-3.0-format-security.patch \
zip-3.0-exec-shield.patch \
zip-3.0-currdir.patch \
zipnote.patch \
zip-3.0-pic.patch \
zip-3.0-no-crypt.patch \
zip-gnu89-build.patch
do
patch -Np1 -i $SRC/$p
done
make -f unix/Makefile CC=clang LOCAL_ZIP="$CFLAGS" prefix=/usr
make -f unix/Makefile INSTALL=install \
prefix=$PKG/usr \
MANDIR=$PKG/usr/share/man/man1 \
install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|