This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 13th, 2013  |  syntax: None  |  size: 1.16 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: speps <speps at aur dot archlinux dot org>
  2.  
  3. pkgname=hotot-data
  4. pkgver=0.9.8.10
  5. pkgrel=2
  6. pkgdesc="A lightweight & open source microblogging software (twitter identi.ca)."
  7. arch=('any')
  8. url="http://www.hotot.org/"
  9. license=('LGPL3')
  10. depends=('hicolor-icon-theme')
  11. makedepends=('cmake' 'intltool' 'python2')
  12. install="hotot-data.install"
  13. source=("https://github.com/lyricat/Hotot/tarball/$pkgver")
  14. #md5sums=('ce4fdb6b635cae008e8c8e861bedb6d5')
  15. md5sums=('75c84190bbd1e7913880417f3bd853e4')
  16.  
  17. build() {
  18.   cd ${srcdir}/lyricat-Hotot-fc242c7
  19.   [ -d bld ] || mkdir bld && cd bld
  20.  
  21.   cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
  22.            -DWITH_GTK=OFF \
  23.            -DWITH_GIR=OFF \
  24.            -DWITH_QT=OFF \
  25.            -DWITH_KDE=OFF \
  26.            -DWITH_CHROME=OFF \
  27.            -DPYTHON_EXECUTABLE=/usr/bin/python2
  28.   make
  29. }
  30.  
  31. package() {
  32.   cd ${srcdir}/lyricat-Hotot-fc242c7/bld
  33.  
  34.   make DESTDIR="$pkgdir/" install
  35.  
  36.   # remove google analytics tracking code (tnx to ianux)
  37.   find "$pkgdir" -name hotot.js -exec \
  38.     sed -i '/\/\/ 7. run track code/,+12d' {} \;
  39.  
  40.   # rm unneded
  41.   rm -rf "$pkgdir/usr/share/applications"
  42. }
  43.  
  44. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data