SHARE
TWEET

PKGBUILD

a guest Apr 19th, 2013 229 Never
  1. # Maintainer: M4rQu1Nh0S <zonadomarquinhos@gmail.com>
  2. # Contributor: AqD <aquila.deus@gmail.com>
  3. # Contributor: lh <jarryson@gmail.com>
  4. # contributor: Pablo Lezaeta <prflr88@gmail.com>
  5.  
  6. pkgname=xfce4-macmenu-plugin
  7. pkgver=1.0.15
  8. pkgrel=6
  9. pkgdesc="Mac-style menubar plugin for xfce panel (4.4+)"
  10. arch=(i686 x86_64)
  11. url="http://aquila.deus.googlepages.com/"
  12. depends=('xfce4-panel>=4.3.99.2' 'libwnck>=2.16.1' 'fontconfig-ubuntu')
  13. makedepends=(pkgconfig)
  14. options=()
  15. license=(LGPL)
  16. source=('macmenu-applet.c'
  17.         'macmenu-tslist.h'
  18.         $pkgname.desktop)
  19. md5sums=('b0792f81cd87aa7338fe362e40f98f97'
  20.          '442128110d99a35da54df6fd58b8c405'
  21.          '92c76560a05aefb645874b27039b7bbc')
  22.  
  23. build() {
  24.   cd $srcdir
  25.   gcc -lX11 -std=gnu99 -Wall -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` $CFLAGS $LDFLAGS -o $pkgname macmenu-applet.c || return 1
  26. }
  27.  
  28. package(){
  29.   cd $pkgdir
  30.   mkdir -p $pkgdir/usr/lib/xfce4/xfce4/panel-plugins
  31.   mkdir -p $pkgdir/usr/share/xfce4/panel-plugins
  32.   cp -f $srcdir/$pkgname $pkgdir/usr/lib/xfce4/xfce4/panel-plugins/
  33.   cp -f $srcdir/$pkgname.desktop $pkgdir/usr/share/xfce4/panel-plugins/
  34. }
RAW Paste Data
Top