diff options
author | Martchus | 2023-12-22 17:39:45 +0100 |
---|---|---|
committer | Martchus | 2023-12-22 17:39:45 +0100 |
commit | cfad5e90e6f92ceddf736248e11c5f454ae2f0a0 (patch) | |
tree | 2aac28aee5029f2ac93278355f65370ffbd77911 /PKGBUILD | |
parent | 9ac16df2f4def99c0f4affcb9d3d9bea202eb01b (diff) | |
download | aur-cfad5e90e6f92ceddf736248e11c5f454ae2f0a0.tar.gz |
Avoid overriding autostart when building
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -43,13 +43,20 @@ checkdepends=('cppunit' 'syncthing' 'iproute2') [[ $_enable_kio_plugin ]] && makedepends+=('kio5') [[ $_enable_plasmoid ]] && makedepends+=('plasma-framework5' 'extra-cmake-modules') url="https://github.com/Martchus/${_reponame}" -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0c48da193eb29338590bb297052a1274284d9c596a5078541c4d7cdf6b6eba6f') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz" + 0001-Mock-setting-the-autostart-path-in-the-wizard-test.patch) +sha256sums=('0c48da193eb29338590bb297052a1274284d9c596a5078541c4d7cdf6b6eba6f' + SKIP) ephemeral_port() { comm -23 <(seq 49152 65535) <(ss -tan | awk '{print $4}' | cut -d':' -f2 | grep "[0-9]\{1,5\}" | sort | uniq) | shuf | head -n 1 } +prepare() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + patch -p1 -i ../0001-Mock-setting-the-autostart-path-in-the-wizard-test.patch +} + build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" |