Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 7th, 2014  |  syntax: None  |  size: 1.38 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. # Contributor: Vincent Quilin <vincent.quilin@gmail.com>
  2.  
  3. pkgname=xcompmgr_tint2-git
  4. pkgver=20110603
  5. pkgrel=1
  6. pkgdesc="The X Composisting Manager fresh from freedesktop.org repositories with tint2 patch for real transparency"
  7. arch=(i686 x86_64)
  8. url="http://www.freedesktop.org/Software/xapps"
  9. license=('MIT')
  10. depends=('libxcomposite' 'libxdamage' 'libxrender')
  11. makedepends=('git' 'xorg-util-macros')
  12. provides=(xcompmgr)
  13. conflicts=(xcompmgr xcompmgr-dana)
  14. replaces=(xcompmgr xcompmgr-dana)
  15. source=(tint2transparency.patch)
  16. md5sums=('c20bbfc8201bd6562e6aa31168198332')
  17.  
  18. _gitroot="git://anongit.freedesktop.org/git/xorg/app/xcompmgr"
  19. _gitname="xcompmgr"
  20.  
  21. build() {
  22.   cd $startdir/src
  23.   msg "Connecting to git.freedesktop.org GIT server...."
  24.  
  25.   if [ -d $startdir/src/$_gitname ] ; then
  26.   cd $_gitname && git pull origin
  27.   msg "The local files are updated."
  28.   else
  29.   git clone $_gitroot
  30.   cd $_gitname
  31.   fi
  32.  
  33.   msg "GIT checkout done or server timeout"
  34.  
  35.   msg "Patching for tint2 real transparency"
  36.   patch -p1 < ../../tint2transparency.patch
  37.  
  38.   msg "Starting make..."
  39.   ./autogen.sh --prefix=/usr
  40.   #make || return 1
  41.   #make DESTDIR=$startdir/pkg install || return 1
  42. }
  43.  
  44. package() {
  45.   cd "${srcdir}/xcompmgr"
  46.   make DESTDIR="${pkgdir}" install
  47.   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  48.   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
  49. }
clone this paste RAW Paste Data