1 # Maintainer: Balló György <ballogy@freestart.hu>
2 pkgname=indicator-power
5 pkgdesc="An indicator to show the power status of your devices"
7 url="https://launchpad.net/indicator-power"
9 depends=('libindicator>=0.3.90' 'gnome-settings-daemon>=3.0.0')
10 true && depends=('libindicator3>=0.3.90' 'gnome-settings-daemon>=3.0.0')
11 makedepends=('intltool>=0.41.0')
13 install=$pkgname.install
14 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
15 launchpad-export.tar.gz)
16 md5sums=('b3ef853edfacbd6949435c058901109c'
17 'fbb1b7e838ff185f82c89e2532fb8f01')
20 cd "$srcdir/$pkgname-$pkgver"
22 # Install language files
23 echo 'am an ar ast az be bg bn bo bs ca ca@valencia cy cs da de el en_AU en_GB eo es et eu fi fil fr fy gd gl he hi hr hu id it ja kk km ko ku lt lv mhr ms nb nl nn oc os pl ps pt pt_BR ro ru sd si sk sl sq sr sv ta te th tr ug uk uz vi zh_CN zh_HK zh_TW' >po/LINGUAS
24 rename $pkgname- '' ../po/$pkgname-*.po
27 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
28 --disable-static --disable-schemas-compile
33 cd "$srcdir/$pkgname-$pkgver"
35 make DESTDIR="$pkgdir/" install