pkgbuilds/scrcpy/buildbot.update.d/config.sh

24 lines
448 B
Bash
Raw Normal View History

2019-10-24 12:44:39 +08:00
#!/bin/bash
# buildbot update hook for aur packages
PKGNAME='scrcpy'
PKGBUILD='PKGBUILD'
# prepare upstream source
prepare() {
sed -i "s/^arch=.*$/arch=('aarch64')/g" PKGBUILD
2019-11-20 12:15:43 +08:00
git apply ../0001-fix-aarch64-compilation.patch
2019-10-24 12:44:39 +08:00
}
# 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'
)