daily pastebin goal
55%
SHARE
TWEET

pgl PKGBUILD fixed to work when qt5 is installed

Peaceseeker Mar 3rd, 2013 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Pierre Buard <pierre.buard+aur gmail com>
  2. pkgname=pgl
  3. pkgver=2.2.2
  4. pkgrel=3
  5. pkgdesc='PeerGuardian is a privacy oriented firewall application (GUI).'
  6. url='http://sourceforge.net/projects/peerguardian/'
  7. arch=('i686' 'x86_64')
  8. depends=('cron' 'logrotate' 'wget' 'libnetfilter_queue' 'iptables' 'qt4' 'polkit-qt')
  9. optdepends=('unzip: for zipped blocklists'
  10.             'p7zip: for 7z blocklists'
  11.             'net-tools: to whitelist local IP addresses'
  12.             'networkmanager: to whitelist newly started network interfaces'
  13.             'smtp-forwarder: to send reports')
  14. license=('GPL')
  15. replace=('pgl-nogui')
  16. conflicts=('blockcontrol' 'moblock' 'pgl-cli')
  17. backup=('etc/pgl/allow.p2p'
  18.         'etc/pgl/blocklists.list'
  19.         'etc/pgl/pglcmd.conf'
  20.         'etc/logrotate.d/pglcmd'
  21.         'etc/logrotate.d/pgld')
  22. source=(http://downloads.sourceforge.net/project/peerguardian/PeerGuardian%20Linux/${pkgver}/${pkgname}-${pkgver}.tar.gz
  23.         service)
  24. md5sums=('c623c92802281f69e51d140c8b1bb171'
  25.          'fa46fdf46992586e56fe2d48b58e5d97')
  26. install=install
  27. changelog=changelog
  28.  
  29. build() {
  30.  
  31. # export qt4
  32. export QMAKE=qmake-qt4
  33. export MOC=moc-qt4
  34. export UIC=uic-qt4
  35. export RCC=rcc-qt4
  36.  
  37.     cd ${srcdir}/${pkgname}-${pkgver}/
  38.     ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --datarootdir=/usr/share \
  39.                 --with-piddir=/run --without-initddir
  40.     make
  41. }
  42.  
  43. package() {
  44.     cd ${srcdir}/${pkgname}-${pkgver}/
  45.     make DESTDIR=${pkgdir} install
  46.     install -Dm644 ${srcdir}/service ${pkgdir}/usr/lib/systemd/system/pgl.service
  47. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top