neomutt: update to 20200925.
This needed an update to the test files repo to pass tests. Thus I parameterized the hash for that since upstream does seem to change it every 6 months or so.
This commit is contained in:
parent
c2946c972e
commit
e03d7bcff9
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'neomutt'
|
||||
pkgname=neomutt
|
||||
version=20200821
|
||||
version=20200925
|
||||
revision=1
|
||||
wrksrc="neomutt-${version}"
|
||||
create_wrksrc=true
|
||||
|
@ -20,10 +20,11 @@ short_desc="Mutt with misc fixes and feature patches"
|
|||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://neomutt.org/"
|
||||
_test_files_hash=8629adab700a75c54e8e28bf05ad092503a98f75
|
||||
distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
|
||||
https://github.com/neomutt/neomutt-test-files/archive/1ee274e9ae1330fb901eb7b8275b3079d7869222.tar.gz"
|
||||
checksum="4233d03e03220a2ba8096ab28061e12ef538259fd7d32ad441aad5207b17b390
|
||||
f7aeb9a70b213b1bbcdba629745fd345bde825c467453912f5cfd7f1d75418f5"
|
||||
https://github.com/neomutt/neomutt-test-files/archive/${_test_files_hash}.tar.gz"
|
||||
checksum="dcec98ea2454d7695ff92184c33a0051c2b3c46320f81f7889c4580c943140dd
|
||||
a53d6447cf4e8f60bd9a3caf68a1cfe1bfda878b5bcb8c60b965b5214de73ff9"
|
||||
python_version=3
|
||||
|
||||
# fix:
|
||||
|
@ -45,15 +46,15 @@ post_install() {
|
|||
|
||||
pre_check() {
|
||||
(
|
||||
cd ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/
|
||||
cd ${wrksrc}/neomutt-test-files-${_test_files_hash}/
|
||||
./setup.sh
|
||||
)
|
||||
export NEOMUTT_TEST_DIR=${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222
|
||||
export NEOMUTT_TEST_DIR=${wrksrc}/neomutt-test-files-${_test_files_hash}
|
||||
}
|
||||
|
||||
post_check() {
|
||||
# This is a file chmodded to 311 and can't be removed normally
|
||||
chmod 777 ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/maildir/damson
|
||||
chmod 777 ${wrksrc}/neomutt-test-files-${_test_files_hash}/maildir/damson
|
||||
}
|
||||
|
||||
# REMARKS:
|
||||
|
|
Loading…
Reference in New Issue