diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2024-07-07 11:18:35 -0400 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2024-07-07 11:18:35 -0400 |
| commit | beba5e93542ee8660e3a4318ce64bc74c68753dc (patch) | |
| tree | 40c5a6d6650865a5b91528c2571d80f4e600e116 | |
| parent | c0e361fff0700afaf0702a32489e90b33f3118de (diff) | |
| download | forked-aports-beba5e93542ee8660e3a4318ce64bc74c68753dc.tar.gz | |
local/abduco: fork of community/abduco
| -rw-r--r-- | abduco/APKBUILD | 36 | ||||
| -rw-r--r-- | abduco/fix-tests.patch | 15 |
2 files changed, 51 insertions, 0 deletions
diff --git a/abduco/APKBUILD b/abduco/APKBUILD new file mode 100644 index 0000000..607c308 --- /dev/null +++ b/abduco/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Celeste <cielesti@protonmail.com> +pkgname=abduco +pkgver=0.6_git2020430 +_commit=8c32909a159aaa9484c82b71f05b7a73321eb491 +pkgrel=1 +pkgdesc="Session management in a clean and simple way" +url="https://www.brain-dump.org/projects/abduco/" +arch="all" +license="ISC" +subpackages="$pkgname-doc" +# dvtm test fail inside container +checkdepends="dvtm" +source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~martanne/$pkgname/archive/$_commit.tar.gz + fix-tests.patch + " +builddir="$srcdir/$pkgname-$_commit" + +build() { + make +} + +check() { + ./testsuite.sh +} + +package() { + make PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir" install + install -Dm644 README.md LICENSE \ + -t "$pkgdir"/usr/share/doc/$pkgname +} + +sha512sums=" +dec2ecc9d185d617f89371a7a8578398e97ad3cbf245b9304579c638ee37e6614ecd0ee428da6b070edb31078f4646f19160c4c22722e1401289bdc70813e6c3 abduco-8c32909a159aaa9484c82b71f05b7a73321eb491.tar.gz +0d9e5be04bfd9d0826c54d7a8ad8435dcd3559efd7eabca11ebab86f20acabd4d97e1c1fb81e895865e73034d4a2e278f409236f301a6d71ac907af66ced046b fix-tests.patch +" diff --git a/abduco/fix-tests.patch b/abduco/fix-tests.patch new file mode 100644 index 0000000..746e438 --- /dev/null +++ b/abduco/fix-tests.patch @@ -0,0 +1,15 @@ +Without this change pgrep seems to return the PID of the abduco process +spawned in the previous line because it may not be removed yet. Removing +the pgrep invocation is not the best solution but good enough for now. + +diff -upr abduco-0.6.orig/testsuite.sh abduco-0.6/testsuite.sh +--- abduco-0.6.orig/testsuite.sh 2019-02-14 11:33:19.521290879 +0100 ++++ abduco-0.6/testsuite.sh 2019-02-14 11:33:29.361298623 +0100 +@@ -55,7 +55,6 @@ expected_abduco_detached_output() { + + check_environment() { + [ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && exit 1; +- pgrep abduco && echo Abduco process exists && exit 1; + return 0; + } + |
