Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
QZLin committed Aug 6, 2023
1 parent 9de09c9 commit 2caa343
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ depends=('python>=3.7','gettext-devel','rsync','git')
optdepends=('libreadline-devel','pandoc')
makedepends=('gcc>=4','make')

ln_fixed() {
rm -f $1
touch $1
ln -srf $1 $2
rm -f $1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure
ln_fixed lib/cmd/bup.exe bup

pushd 'lib/bup'
rm -f _helpers.so
touch _helpers.so
ln -srf _helpers.so _helpers.dll
rm _helpers.so
ln_fixed _helpers.so _helpers.dll
popd
make
# find -name '*.so' | while read line; do mv $line ${line/.so/.dll}; done
Expand Down

0 comments on commit 2caa343

Please sign in to comment.