mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
aur/samba4: _pkgsrc must be defined inside build() to pick up srcdir
This commit is contained in:
parent
db657f7c5e
commit
896239be39
|
@ -27,12 +27,12 @@ options=(!makeflags)
|
|||
source=(http://ftp.samba.org/pub/samba/stable/samba-${_realver}.tar.gz)
|
||||
md5sums=('58ec2fec08872b72f8fd526f2da20a9e')
|
||||
|
||||
# Use samba-pkg as a staging directory for the split packages
|
||||
# (This is so RPATHS and symlinks are generated correctly via
|
||||
# make install, but the otherwise unsplit pieces can be split)
|
||||
_pkgsrc=${srcdir}/samba-pkg
|
||||
|
||||
build() {
|
||||
# Use samba-pkg as a staging directory for the split packages
|
||||
# (This is so RPATHS and symlinks are generated correctly via
|
||||
# make install, but the otherwise unsplit pieces can be split)
|
||||
_pkgsrc=${srcdir}/samba-pkg
|
||||
|
||||
rm -rf ${_pkgsrc}
|
||||
cd ${srcdir}/samba-${_realver}
|
||||
|
||||
|
|
Loading…
Reference in a new issue