replace nasm with yasm

This commit is contained in:
AlmAck 2018-01-07 20:54:12 +01:00
parent b97014a711
commit cbffd3178f

View File

@ -6,7 +6,7 @@ arch=('x86_64')
url='https://www.veracrypt.fr' url='https://www.veracrypt.fr'
license=('custom') license=('custom')
depends=('fuse' 'wxgtk' 'libsm' 'device-mapper') depends=('fuse' 'wxgtk' 'libsm' 'device-mapper')
makedepends=('nasm') makedepends=('yasm')
replaces=('truecrypt') replaces=('truecrypt')
install='veracrypt.install' install='veracrypt.install'
source=("https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt_${pkgver}.tar.gz" source=("https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt_${pkgver}.tar.gz"
@ -14,13 +14,20 @@ source=("https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt_${pkgver}.tar.
sha256sums=('4071d3d1e87839a7c2bdc9a3837940d49f38bfd92d71f9cbc670b61a48824885' sha256sums=('4071d3d1e87839a7c2bdc9a3837940d49f38bfd92d71f9cbc670b61a48824885'
'76c78498703d806d80707e65b253c2f2fa7f328fdae29efdca64b6d4a0ef2816') '76c78498703d806d80707e65b253c2f2fa7f328fdae29efdca64b6d4a0ef2816')
build() { prepare() {
cd ${srcdir}/VeraCrypt-VeraCrypt_${pkgver}/src cd ${srcdir}/VeraCrypt-VeraCrypt_${pkgver}/src
# apply patch(es) # apply patch(es)
patch -Np1 -i ../../no_makeself.patch # disable sfx https://github.com/veracrypt/VeraCryptarchive patch -Np1 -i ../../no_makeself.patch # disable sfx https://github.com/veracrypt/VeraCryptarchive
}
build() {
cd ${srcdir}/VeraCrypt-VeraCrypt_${pkgver}/src
# build # build
export WX_CONFIG=/usr/bin/wx-config make PKG_CONFIG_PATH=/usr/lib/pkgconfig \
make LFLAGS+="-ldl" WX_CONFIG=/usr/bin/wx-config \
TC_EXTRA_LFLAGS+="-ldl ${LDFLAGS}" \
TC_EXTRA_CXXFLAGS="${CXXFLAGS}" \
TC_EXTRA_CFLAGS="${CFLAGS}"
} }
package() { package() {