mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-15 10:32:23 +08:00
24 lines
445 B
Bash
24 lines
445 B
Bash
|
#!/bin/bash
|
||
|
# buildbot update hook for aur packages
|
||
|
|
||
|
PKGNAME='scrcpy'
|
||
|
PKGBUILD='PKGBUILD'
|
||
|
|
||
|
# prepare upstream source
|
||
|
prepare() {
|
||
|
sed -i "s/^arch=.*$/arch=('aarch64')/g" PKGBUILD
|
||
|
git apply 0001-fix-aarch64-compilation.patch
|
||
|
}
|
||
|
|
||
|
# 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'
|
||
|
)
|