summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD34
1 files changed, 17 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index de564602c94..d5f04c35439 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('fuse2>=2.8.0' 'wxgtk3>=3.0' 'libsm' 'device-mapper')
optdepends=('sudo: mounting encrypted volumes as nonroot users')
makedepends=('git' 'yasm')
source=("${pkgname%-git}::git+https://github.com/FollowMeDown/VeraCrypt.git"
- no-makeself.patch
+ no-makeself.patch
veracrypt.desktop)
sha512sums=('SKIP'
'40c269859bb97fbcceb443e5f457788bac650271ed118ec79d34f56fc340ad6e613114fe905ec5aba8c4d171c51c9a6865f97e9fa1ba01fa98ef18be4e97bbe1'
@@ -21,29 +21,29 @@ provides=('veracrypt')
conflicts=('veracrypt')
pkgver() {
- cd $srcdir/${pkgname%}
- git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
+ cd $srcdir/${pkgname%}
+ git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
}
prepare() {
- cd $srcdir/${pkgname%}/src
- chmod -R u+w . # WAT award
- patch -Np1 < "${srcdir}/no-makeself.patch"
+ cd $srcdir/${pkgname%}/src
+ chmod -R u+w . # WAT award
+ patch -Np1 < "${srcdir}/no-makeself.patch"
}
build() {
- cd $srcdir/${pkgname%}/src
- make PKG_CONFIG_PATH=/usr/lib/pkgconfig \
- WX_CONFIG=/usr/bin/wx-config-gtk3 \
- TC_EXTRA_LFLAGS+="-ldl ${LDFLAGS}" \
- TC_EXTRA_CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
- TC_EXTRA_CFLAGS="${CFLAGS} ${CPPFLAGS}"
+ cd $srcdir/${pkgname%}/src
+ make PKG_CONFIG_PATH=/usr/lib/pkgconfig \
+ WX_CONFIG=/usr/bin/wx-config-gtk3 \
+ TC_EXTRA_LFLAGS+="-ldl ${LDFLAGS}" \
+ TC_EXTRA_CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
+ TC_EXTRA_CFLAGS="${CFLAGS} ${CPPFLAGS}"
}
package() {
- cd $srcdir/${pkgname%}/src
- install -Dm 755 Main/veracrypt "${pkgdir}/usr/bin/${pkgname%}"
- install -Dm 644 "${srcdir}/veracrypt.desktop" -t "${pkgdir}/usr/share/applications"
- install -Dm 644 Resources/Icons/VeraCrypt-256x256.xpm "${pkgdir}/usr/share/pixmaps/veracrypt.xpm"
- install -Dm 644 License.txt -t "${pkgdir}/usr/share/licenses/${pkgname%}"
+ cd $srcdir/${pkgname%}/src
+ install -Dm 755 Main/veracrypt "${pkgdir}/usr/bin/${pkgname%}"
+ install -Dm 644 "${srcdir}/veracrypt.desktop" -t "${pkgdir}/usr/share/applications"
+ install -Dm 644 Resources/Icons/VeraCrypt-256x256.xpm "${pkgdir}/usr/share/pixmaps/veracrypt.xpm"
+ install -Dm 644 License.txt -t "${pkgdir}/usr/share/licenses/${pkgname%}"
}