summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDEFACE2020-07-28 03:10:54 +0200
committerDEFACE2020-07-28 03:10:54 +0200
commitdace33f360f2a65b7026c535e8260d89428aeb8a (patch)
tree8e8cb69c0f327df6237dace14c6d5cca377760b1
downloadaur-dace33f360f2a65b7026c535e8260d89428aeb8a.tar.gz
Init Commit
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD49
-rw-r--r--no-makeself.patch11
-rw-r--r--veracrypt.desktop9
4 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c052189347b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = veracrypt-git-no-gost
+ pkgdesc = Disk encryption with strong security based on TrueCrypt (No GOST)
+ pkgver = 20200725
+ pkgrel = 1
+ url = https://www.veracrypt.fr/
+ arch = i686
+ arch = x86_64
+ license = custom:TrueCrypt
+ makedepends = git
+ makedepends = yasm
+ depends = fuse2>=2.8.0
+ depends = wxgtk3>=3.0
+ depends = libsm
+ depends = device-mapper
+ optdepends = sudo: mounting encrypted volumes as nonroot users
+ provides = veracrypt
+ conflicts = veracrypt
+ source = veracrypt-git-no-gost::git+https://github.com/FollowMeDown/VeraCrypt.git
+ source = no-makeself.patch
+ source = veracrypt.desktop
+ sha512sums = SKIP
+ sha512sums = 40c269859bb97fbcceb443e5f457788bac650271ed118ec79d34f56fc340ad6e613114fe905ec5aba8c4d171c51c9a6865f97e9fa1ba01fa98ef18be4e97bbe1
+ sha512sums = f689ca64bac7042030de7714aed8cc89f2c5f87b407444b1b121491c1d89c147babaaa454ddc2a93b70ae20d4da59f96ad64f01b04bea9017d658c377faeb75d
+
+pkgname = veracrypt-git-no-gost
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de564602c94
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Oleg Pahl <z3r0.c01n at protonmail.com>
+
+pkgname=veracrypt-git-no-gost
+_pkgname=VeraCrypt
+pkgver=20200725
+pkgrel=1
+pkgdesc='Disk encryption with strong security based on TrueCrypt (No GOST)'
+url='https://www.veracrypt.fr/'
+arch=('i686' 'x86_64')
+license=('custom:TrueCrypt')
+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
+ veracrypt.desktop)
+sha512sums=('SKIP'
+ '40c269859bb97fbcceb443e5f457788bac650271ed118ec79d34f56fc340ad6e613114fe905ec5aba8c4d171c51c9a6865f97e9fa1ba01fa98ef18be4e97bbe1'
+ 'f689ca64bac7042030de7714aed8cc89f2c5f87b407444b1b121491c1d89c147babaaa454ddc2a93b70ae20d4da59f96ad64f01b04bea9017d658c377faeb75d')
+provides=('veracrypt')
+conflicts=('veracrypt')
+
+pkgver() {
+ 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"
+}
+
+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}"
+}
+
+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%}"
+}
diff --git a/no-makeself.patch b/no-makeself.patch
new file mode 100644
index 00000000000..30f19a97fd8
--- /dev/null
+++ b/no-makeself.patch
@@ -0,0 +1,11 @@
+diff -aur clean/veracrypt/src/Main/Main.make src/veracrypt/src/Main/Main.make
+--- clean/Main/Main.make 2014-10-14 19:12:32.000000000 +0300
++++ src/Main/Main.make 2014-10-14 19:13:27.330705412 +0300
+@@ -206,7 +206,6 @@
+ rm -fr $(BASE_DIR)/Setup/Linux/packaging
+ mkdir -p $(BASE_DIR)/Setup/Linux/packaging
+ cp $(INTERNAL_INSTALLER_NAME) $(BASE_DIR)/Setup/Linux/packaging/.
+- makeself $(BASE_DIR)/Setup/Linux/packaging $(BASE_DIR)/Setup/Linux/$(INSTALLER_NAME) "VeraCrypt $(TC_VERSION) Installer" ./$(INTERNAL_INSTALLER_NAME)
+
+ endif
+
diff --git a/veracrypt.desktop b/veracrypt.desktop
new file mode 100644
index 00000000000..8cc5e683997
--- /dev/null
+++ b/veracrypt.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=veracrypt
+Icon=veracrypt.xpm
+Comment=Disk encryption with strong security based on TrueCrypt
+Terminal=false
+Name=VeraCrypt
+StartupNotify=true
+Categories=System;Administration;