summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1eb19a87be8a69e4ccee51a7a3a36fd758603317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: baronleonardo <mohamedayman.fcis@zoho.com>

pkgname=xfce4-netspeed-plugin-default-route
srcname=xfce4-netspeed-plugin
conflicts=("xfce4-netspeed-plugin")
replaces=("xfce4-netspeed-plugin")
pkgdesc="Netspeed plugin for xfce4 panel. Like gnome netspeed applet. Uses default route 
as first choice for automatic selection"
pkgver=0.3.1
pkgrel=3
arch=('i686' 'x86_64')
url="http://code.google.com/p/xfce4-netspeed-plugin/"
license=('GPL')
depends=('xfce4-panel' 'libxfcegui4' 'libgtop')
makedepends=('intltool')
install=xfce4-netspeed-plugin.install
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xfce4-netspeed-plugin/${srcname}-${pkgver}.tar.gz
        xfce4-netspeed-plugin.install
  default-route.patch)
md5sums=('b88cacc3ecd53798d76855e35a7a4d79'
         'b2ebab59089be208323356fef393640a'
   '04466c8f600e04975146174a0adb25d2')

build() {
  cd "${srcdir}"/${srcname}
  pwd
  patch -i ../../default-route.patch -p5
  ./configure --prefix=/usr
  make
}

package(){
  cd "${srcdir}"/${srcname}
  make DESTDIR="${pkgdir}" install
}