SHARE
TWEET

Untitled

a guest Apr 19th, 2016 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=gostcrypt
  2. pkgver=1.3
  3. pkgrel=1
  4. pkgdesc="Free open-source cross-platform disk encryption software (fork truecrypt)"
  5. url="https://www.gostcrypt.org"
  6. arch=('x86_64' 'i686')
  7. license=('GPLv3')
  8. depends=('fuse' 'wxgtk2.8' 'p11-kit')
  9. optdepends=()
  10. makedepends=('nasm')
  11. conflicts=()
  12. replaces=()
  13. backup=()
  14. #install=''
  15. source=("https://www.gostcrypt.org/download/${pkgver}/Linux/Sources/GostCrypt_${pkgver}_Linux.zip"
  16. "${pkgname}.desktop")
  17.  
  18. sha256sums=('3fcd0c6df47540458302446f8cb5f92614b7012c6b68e82d028620fd27a9715f'
  19.             '1f686d38b8478c25a84d786dea178deb5fcc16afe1f0dca13e5994fc21d6382d')
  20.  
  21. build() {
  22.   cd "${srcdir}/GostCrypt_Linux_${pkgver}"
  23.  
  24.   # Build
  25.   export WX_CONFIG=/usr/bin/wx-config-2.8
  26.   make PKCS11_INC="/usr/include/pkcs11/" LFLAGS+="-ldl"
  27.  
  28. }
  29. package() {
  30.   cd "${srcdir}/GostCrypt_Linux_${pkgver}"
  31.  
  32.   # Install Binary
  33.   install -D -m755 Main/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
  34.  
  35.   # Install Desktop file and Icon
  36.   install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  37.   install -D -m644 Resources/Icons/GostCrypt-48x48.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm"
  38.  
  39.   # Install License
  40.   install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
  41.    
  42. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top