Update build

This commit is contained in:
Kevin Yue
2024-02-25 17:30:41 +08:00
parent 3daad748ae
commit e8a64539aa
6 changed files with 138 additions and 51 deletions

View File

@@ -21,10 +21,15 @@ options=('!strip')
build() {
cd "$pkgname-$pkgver"
make build OFFLINE=1
# Must unset the CFLAGS, otherwise the build fails
unset CFLAGS
make build OFFLINE=@OFFLINE@
}
package() {
cd "$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
}