1 # Contributor: 3ED <krzysztof1987/at/gmail/dot/com>
2 pkgname=openbox-gnome-places
5 pkgdesc="Dynamically generates a menu for the Openbox3-Windowmanager that tries to resemble the Gnome2 Places-Menu."
7 url="http://3ed.jogger.pl/2008/10/12/openbox-gnome-places/"
9 depends=('perl' 'gettext' 'openbox')
10 source=(http://csk.pl/~kas/dl/openbox-gnome-places/${pkgname}-${pkgver}.tar.xz)
11 sha256sums=('b9408f96cf188116d154d1afbf7b43d2818af5dbcb02a50732f593754a058eba')
12 backup=(etc/${pkgname}.conf)
15 cd "$srcdir/$pkgname-$pkgver"
16 install -Dm 755 "$srcdir/$pkgname-$pkgver/$pkgname.sh" \
17 "$pkgdir/usr/bin/$pkgname" || return 1
18 install -Dm 644 "$srcdir/$pkgname-$pkgver/$pkgname.conf" \
19 "$pkgdir/etc/$pkgname.conf" || return 1
21 cd "$srcdir/$pkgname-$pkgver/po"
24 install -dm 755 "$pkgdir/usr/share/locale/$i/LC_MESSAGES/" || return 1
25 msgfmt "$i/$pkgname.po" -o "$i/$pkgname.mo" || return 1
26 install -Dm 644 "$i/$pkgname.mo" \
27 "$pkgdir/usr/share/locale/$i/LC_MESSAGES/$pkgname.mo" || return 1
32 # vim:set ts=2 sw=2 et: