diff --git a/overture/autobuild.yaml b/overture/autobuild.yaml index f9e1b29..0a22a4f 100644 --- a/overture/autobuild.yaml +++ b/overture/autobuild.yaml @@ -2,3 +2,6 @@ type: auto priority: 10 +extra: + - update: + - bash buildbot.update.d/update.sh diff --git a/overture/buildbot.update.d/config.sh b/overture/buildbot.update.d/config.sh new file mode 100644 index 0000000..389c586 --- /dev/null +++ b/overture/buildbot.update.d/config.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# buildbot update hook for aur packages + +PKGNAME='overture' +PKGBUILD='PKGBUILD' + +# prepare upstream source +prepare() { + # sed -i "s/^arch=.*$/arch=('aarch64')/g" PKGBUILD + # git apply 0001.patch + true +} + +# which files to include, overrides exclude_files below +INCLUDE_FILES=( +# 'PKGBUILD' +# '.gitignore' +) + +# which files to exclude, use '*' and '.*' to exclude all +EXCLUDE_FILES=( + '.SRCINFO' + '.git' +) diff --git a/overture/buildbot.update.d/update.sh b/overture/buildbot.update.d/update.sh new file mode 120000 index 0000000..7600931 --- /dev/null +++ b/overture/buildbot.update.d/update.sh @@ -0,0 +1 @@ +../../.buildbot/aur.hook.d/update.sh \ No newline at end of file