SHARE
TWEET

PKGBUILD.patch

rsevero May 14th, 2019 (edited) 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- PKGBUILD_raw    2019-05-14 11:25:32.436613932 -0300
  2. +++ PKGBUILD    2019-05-14 11:30:22.716606948 -0300
  3. @@ -1,9 +1,10 @@
  4.  # Maintainer: detrito <detrito@inventati.org>
  5.  # Contributor: Thomas Holder <thomas@thomas-holder.de>
  6.  # Contributor: detrito <detrito@inventati.org>
  7. +# Contributor: Rodrigo Severo <rsev@protonmail.com>
  8.  
  9.  pkgname=therion
  10. -pkgver=5.4.1
  11. +pkgver=5.4.4
  12.  pkgrel=2
  13.  pkgdesc="A cave surveying software"
  14.  arch=('x86_64' 'i686')
  15. @@ -23,14 +24,14 @@
  16.     "make_install.patch"
  17.     "therion_ini.patch")
  18.  
  19. -sha256sums=('6e4b88d1803bdf252cf7d4632afcd9c4005e387245e9ac95774e6cc894ae4ccd'
  20. +sha256sums=('5d3d79157a23e8758e9259425d706b9d7861993971ba630525e1665574024d85'
  21.     '81cd6c75a74897831edd4116bb97c71090023abbb14725b96d2a219f67cb5613'
  22. -   'bf3fda048fb1a4f4c49f0daf7faa7e40c630748b33ed27c47bcfabba4014571c'
  23. +   'cd0ef172f5f4a577a96ea4b0793d15382e81933cef6f8b3203551c10a4b8850f'
  24.     '0639b0c4c9660af33675bf948ca4678d441167f77f7818cc015b7738a53fb8f3'
  25.     )
  26.  
  27. -build() {
  28. -  cd "${srcdir}/${pkgname}-${pkgver}"
  29. +prepare() {
  30. +  cd "${pkgname}-${pkgver}"
  31.  
  32.    # patch to compile loch with VTK 7.1
  33.    patch -p0 -i ${srcdir}/loch_vtk7.patch
  34. @@ -45,11 +46,16 @@
  35.    sed -i.bak 's/-DLXLINUX//' loch/Makefile
  36.    sed -i.bak 's/^POBJECTS =.*/POBJECTS =/' loch/Makefile
  37.    sed -i.bak 's/freetype-config --cflags/pkg-config --cflags freetype2/' loch/Makefile
  38. -
  39. -  make
  40.  }
  41.  
  42. -package() {
  43. -  cd "${srcdir}/${pkgname}-${pkgver}"
  44. -  make DESTDIR="${pkgdir}" install
  45. +build() {
  46. +  cd "${pkgname}-${pkgver}"
  47. +
  48. +  make PREFIX=/usr
  49. + }
  50. +
  51. + package() {
  52. +  cd "${pkgname}-${pkgver}"
  53. +  make PREFIX="${pkgdir}" install
  54.  }
  55. +
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