blob: 1d0e6366adb0d8907fb3f2e22fdb428cc93511ad (
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
|
#!/bin/mkpkg
# description: RAR uncompression program
# url: https://www.rarlab.com/rar_add.htm
name=unrar
version=7.3.1
release=1
source=(https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz)
sha256sums=(
"634900842a3737d9cc15bbcc71d4c74cc713437e0bca296a573424fe5f2660ab"
)
build() {
cd unrar
make -j${JOBS:-1} \
CXX=clang++ \
CXXFLAGS="-O2 -std=c++17 -stdlib=libc++ -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else" \
LDFLAGS="-pthread -stdlib=libc++" \
DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP" \
STRIP=: \
unrar
make DESTDIR=$PKG/usr install-unrar
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|