summaryrefslogtreecommitdiffstats
path: root/xfce4-weather-plugin/Pkgfile
blob: e8662a55fe75cdf5cf7f9c467b6f9661d42d696c (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
# Description: Plugin Météo pour Xfce
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xfce4-panel,libxfcegui4
# Run on: xfce4-panel,libxfcegui4

name=xfce4-weather-plugin
version=0.7.4
release=3
source=(http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.7/$name-$version.tar.bz2)

build() {
cd $name-$version
	sed -i -e 's/^#define PARTNER_ID.*/#define PARTNER_ID "1003666583"/' \
	-e 's/^#define LICENSE_KEY.*/#define LICENSE_KEY "4128909340a9b2fc"/' \
	panel-plugin/weather.h
	./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static
	make
	make DESTDIR=$PKG install
}