A small collection of pkgbuilds I did not deem worthy of publishing on aur and maintaining.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.4KB

  1. # Maintainer: Von Random <von@vdrandom.org>
  2. # Contributor: Adriaan Zonnenberg <amz@adriaan.xyz>
  3. # Contributor: Florian Bruhin (The-Compiler) <archlinux.org@the-compiler.org>
  4. # Contributor: Daniel Micay <danielmicay@gmail.com>
  5. # Contributor: Sébastien Luttringer
  6. # Contributor: Angel Velasquez <angvp@archlinux.org>
  7. # Contributor: tobias <tobias@archlinux.org>
  8. # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
  9. _pkgname=rxvt-unicode
  10. pkgname=('rxvt-unicode-cvs' 'rxvt-unicode-terminfo-cvs')
  11. pkgver=$(date +%Y%m%d)
  12. pkgrel=1
  13. arch=('x86_64')
  14. url='http://software.schmorp.de/pkg/rxvt-unicode.html'
  15. license=('GPL')
  16. makedepends=('libxft' 'perl' 'startup-notification' 'libnsl' 'gdk-pixbuf2' 'cvs')
  17. source=(
  18. urxvt.desktop
  19. urxvtc.desktop
  20. urxvt-tabbed.desktop
  21. font-width-fix.patch
  22. line-spacing-fix.patch
  23. terminfo-truecolor.patch
  24. urxvt-sgr.patch
  25. )
  26. sha256sums=(
  27. 5f9c435d559371216d1c5b49c6ec44bfdb786b12d925d543c286b0764dea0319
  28. 91536bb27c6504d6cb0d33775a0c4709a4b439670b900f0c278c25037f19ad66
  29. ccd7c436e959bdc9ab4f15801a67c695b382565b31d8c352254362e67412afcb
  30. 686770fe4e8d6bb0ba497ad2e1f217d17515f2544d80abe76496c63ead2bfaa4
  31. 546a388d0595404a59c71c3eaeba331031032a75f96c57e9a860f27bbd7ebfcc
  32. f60d92d855530fd3f80138eb888a5b4205f6f444e5c41f2c30d9637b6b39c2a7
  33. f36110dce2dce4d6e275410de820f314b72a02dbad08f637c64b0da769c0c8f4
  34. )
  35. prefix='/usr'
  36. patches=(
  37. font-width-fix.patch
  38. line-spacing-fix.patch
  39. urxvt-sgr.patch
  40. terminfo-truecolor.patch
  41. )
  42. prepare() {
  43. cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co ${_pkgname}
  44. cd ${_pkgname}
  45. for patch in ${patches[@]}; do
  46. patch -p0 -i ../$patch
  47. done
  48. }
  49. build() {
  50. cd ${_pkgname}
  51. # we disable smart-resize (FS#34807)
  52. # do not specify --with-terminfo (FS#46424)
  53. ./configure \
  54. --prefix=$prefix \
  55. --enable-256-color \
  56. --enable-combining \
  57. --enable-fading \
  58. --enable-font-styles \
  59. --enable-iso14755 \
  60. --enable-keepscrolling \
  61. --enable-lastlog \
  62. --enable-mousewheel \
  63. --enable-next-scroll \
  64. --enable-perl \
  65. --enable-pointer-blank \
  66. --enable-rxvt-scroll \
  67. --enable-selectionscrolling \
  68. --enable-slipwheeling \
  69. --disable-smart-resize \
  70. --enable-startup-notification \
  71. --enable-transparency \
  72. --enable-unicode3 \
  73. --enable-utmp \
  74. --enable-wtmp \
  75. --enable-xft \
  76. --enable-xim \
  77. --enable-xterm-scroll \
  78. --disable-frills
  79. make
  80. }
  81. package_rxvt-unicode-cvs() {
  82. pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt) - latest cvs revision'
  83. depends=('rxvt-unicode-terminfo-cvs' 'libxft' 'perl' 'startup-notification' 'libnsl')
  84. optdepends=('gtk2-perl: to use the urxvt-tabbed')
  85. provides=('rxvt-unicode')
  86. conflicts=('rxvt-unicode')
  87. # install freedesktop menu
  88. for _f in urxvt urxvtc urxvt-tabbed; do
  89. install -Dm 644 ${_f}.desktop "${pkgdir}/usr/share/applications/${_f}.desktop"
  90. done
  91. cd $_pkgname
  92. # workaround terminfo installation
  93. export TERMINFO="${srcdir}/terminfo"
  94. install -d "${TERMINFO}"
  95. make DESTDIR="${pkgdir}" install
  96. # install the tabbing wrapper ( requires gtk2-perl! )
  97. sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
  98. install -Dm 755 doc/rxvt-tabbed "${pkgdir}/usr/bin/urxvt-tabbed"
  99. }
  100. package_rxvt-unicode-terminfo-cvs() {
  101. provides=('rxvt-unicode-terminfo')
  102. conflicts=('rxvt-unicode-terminfo')
  103. pkgdesc='Terminfo files for urxvt'
  104. conflict=('rxvt-unicode<=9.18-6')
  105. install -dm 755 "${pkgdir}/usr/share/"
  106. mv terminfo "${pkgdir}/usr/share/"
  107. }
  108. # vim: ts=2 sw=2 et: