diff options
author | Paulo Matias | 2020-04-12 13:05:43 -0300 |
---|---|---|
committer | Paulo Matias | 2020-04-12 13:05:43 -0300 |
commit | 3080045696fee2cb174af75162906dc6b10c461e (patch) | |
tree | 766350bca85a0113ec80d53e1b640d1361cbe00e /PKGBUILD | |
parent | 6fad2972e012afa938ec436161d44c17a5e01831 (diff) | |
download | aur-3080045696fee2cb174af75162906dc6b10c461e.tar.gz |
Patch scripts only in package()
Otherwise build fails unless you have a previous version of the package
already installed.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,6 @@ prepare() { cd "$srcdir/bsc" git submodule update --init --recursive patch -p1 -i "${srcdir}/archlinux.patch" - sed -i "s,^BINDIR=.*$,BINDIR=${_prefix}/bin," src/comp/wrapper.sh } build(){ @@ -44,6 +43,7 @@ package() { install -d "${pkgdir}/usr/bin" local _prog for _prog in bsc bluetcl bluewish; do + sed -i "s,^BINDIR=.*$,BINDIR=${_prefix}/bin," "${pkgdir}${_prefix}/bin/${_prog}" ln -s "${_prefix}/bin/${_prog}" "${pkgdir}/usr/bin" done |