blob: 2de7035d5c73c89cdf59ed422062064161a6742f (
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
|
# Description: Topal is a glue program that links GnuPG and Alpine
# URL: https://zircon.org.uk/topal
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: gcc-ada
name=topal
version=82
release=1
source=()
build() {
git clone https://dl.green-pike.co.uk/topal.git/
cd topal
git checkout rel$version
# Remove PDF build stuff
sed -i 's/binary topal.pdf/binary/' Makefile
# Build Topal and MIME-tool
make distclean
make -j1
# Install Topal binary, manual page and documentation
install -D -m755 "${name}" "${PKG}/usr/bin/${name}"
install -D -m644 "${name}.man" "${PKG}/usr/share/man/man1/${name}.1"
# Replaced by some PDF stuff which we will not build
#install -D -m644 README.txt "${PKG}/usr/share/doc/${PKG}/README"
# Install Topal's version of MIME-tool and manual page
install -D -m755 MIME-tool/mime-tool "${PKG}/usr/bin/mime-tool"
install -D -m644 MIME-tool/mime-tool.man "${PKG}/usr/share/man/man1/mime-tool.1"
}
|