blob: 6f12ce8dd410785821380e472e2e994953b91bad (
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
|
# Maintainer: Klaus Alexander Seistrup <klaus@seistrup.dk>
# -*- sh -*-
pkgname='most-snapshot'
_pkgname="${pkgname/-snapshot/}"
pkgver=5.2.0
_prever=5.2.0
pkgrel=9
epoch=1
pkgdesc='A terminal pager similar to ‘more’ and ‘less’ (latest development snapshot)'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
depends=('glibc' 'slang')
license=('GPL-2.0-or-later') # SPDX-License-Identifier: GPL-2.0-or-later
url='https://www.jedsoft.org/most/'
source=("https://www.jedsoft.org/snapshots/${_pkgname}-${_prever}.tar.gz")
#validpgpkeys=('AE962A02D29BFE4A4BB2805FDE401E0D5873000A') # John E. Davis <davis@space.mit.edu>
provides=('most')
conflicts=('most')
options=('lto' '!makeflags')
# Taken from https://jedsoft.org/snapshots/
md5sums=('9677a974b85ca60c05f2c86063316faa')
build() {
cd "${srcdir}/${_pkgname}-${_prever}"
# RFC-0023
# 🔗 https://rfc.archlinux.page/0023-pack-relative-relocs/
#
# ld(1) says: “Supported for i386 and x86-64.”
case "${CARCH:-unknown}" in
'x86_64' | 'i386' )
export LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs"
;;
* ) : pass ;;
esac
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${_pkgname}-${_prever}"
make DESTDIR="${pkgdir}" install
}
# Calculated
sha256sums=(
'a8babadf68a7e01608340efe4d987eb954e782731232f4aa090d935068610e9f'
)
b2sums=(
'e26bdb7ecf85baecb50998c6c54ba0cb8ebd81ba4e6b4790c5c85f39b96ffbc109ff5735b30e1df782f2949890185d6024ffffe62ff885b8c772644ee70e0a24'
)
# eof
|