diff options
author | D3SOX | 2024-03-13 02:19:25 +0100 |
---|---|---|
committer | D3SOX | 2024-03-13 02:19:25 +0100 |
commit | e9aeadfcd17d210a856ec5e135f90446b6b1988f (patch) | |
tree | d3cb45f6788a1700498fa642b341d87ffead679f | |
parent | 13bc5ac9c796aea3178cfaa5503a102b0c607fb3 (diff) | |
download | aur-e9aeadfcd17d210a856ec5e135f90446b6b1988f.tar.gz |
more refactoring
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,16 +18,20 @@ prepare() { cd "$srcdir/$_reponame-$pkgver/Build" # modify build.sh to remove dotnet publish lines which do not contain linux sed -i '/linux/! s/^dotnet publish/#dotnet publish/' build.sh + # add missing executable permission chmod +x build.sh } build() { cd "$srcdir/$_reponame-$pkgver/Build" + # build, ignoring errors is required as of now ./build.sh || true } package() { cd "$srcdir/$_reponame-$pkgver" + # install license install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # install binary install -Dm755 "Build/Swig/Linux/Swig.Console" "$pkgdir/usr/bin/swig-cli" } |