Advertisement
Guest User

FVWM+ Patch

a guest
Dec 19th, 2016
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. --- PKGBUILD 2015-06-08 10:36:55.000000000 -0300
  2. +++ PKGdif 2016-12-19 19:05:39.099556235 -0300
  3. @@ -2,6 +2,7 @@
  4.  
  5. pkgname=fvwm+
  6. pkgver=2.6.5
  7. +suffix=version-2_6_5
  8. pkgrel=5
  9. pkgdesc="A powerful ICCCM2 compliant multiple virtual desktop window manager for X11 with some patchs"
  10. arch=('i686' 'x86_64')
  11. @@ -12,7 +13,7 @@
  12. conflicts=('fvwm' 'fvwm-patched' 'fvwm+-cvs' 'fvwm-cvs')
  13. replaces=('fvwm' )
  14. options=('!emptydirs' '!makeflags')
  15. -source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-$pkgver.tar.bz2
  16. +source=(https://github.com/ThomasAdam/fvwm/archive/$suffix.tar.gz
  17. fvwm+.desktop
  18. configure.ac-makefile.am.patch
  19. 01-TranslucentMenus.patch
  20. @@ -33,7 +34,7 @@
  21. 16-ThinGeometryProxy.patch )
  22.  
  23. patched() {
  24. - cd "${srcdir}/fvwm-$pkgver"
  25. + cd "${srcdir}/fvwm-$suffix"
  26. #Patching
  27.  
  28. #Patch configure.ac and makefile.am files
  29. @@ -109,8 +110,10 @@
  30. }
  31.  
  32. build() {
  33. - cd "${srcdir}/fvwm-${pkgver}"
  34. + cd "${srcdir}/fvwm-$suffix"
  35. patched
  36. + autoreconf --install
  37. + autoconf
  38. ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  39. --with-stroke-library \
  40. --enable-perllib \
  41. @@ -122,7 +125,7 @@
  42. }
  43.  
  44. package() {
  45. - cd $startdir/src/fvwm-$pkgver
  46. + cd $startdir/src/fvwm-$suffix
  47. make DESTDIR="${pkgdir}" install
  48. install -d "${pkgdir}/usr/share/doc/fvwm"
  49. install -D -m644 sample.fvwmrc/{decor_examples,DecorMwm,DecorWin95,new-features,system.*} "${pkgdir}/usr/share/doc/fvwm"
  50. @@ -130,7 +133,7 @@
  51. install -D -m644 COPYING "${pkgdir}/usr/share/licenses/fvwm/COPYING"
  52. }
  53.  
  54. -md5sums=('090ba4e0c517e8b94f71317951530f69'
  55. +md5sums=('6ee8f47fe953d684e4ad30909a59db2c'
  56. 'a12c52729a74355838404ee2f5716e0c'
  57. '4f0f03f70e058c7b67390e8f1fa7eb25'
  58. 'd208dc6531e2e6a226fb063d007d6046'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement