updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / gnome-menu-extended / PKGBUILD
blob0abe364a3cd9a569a0698b600e39a209be8eada5
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
4 pkgname=gnome-menu-extended
5 pkgver=1.2.2
6 pkgrel=1
7 pkgdesc="Gnome menu with KDE and OOo submenus for Gnome 2.10 or later."
8 arch=('any')
9 url="http://gtk-apps.org/content/show.php?content=73513"
10 license=('GPL' 'LGPL')
11 depends=('gnome-menus')
12 install=('gnome-menu-extended.install')
13 source=(http://gtk-apps.org/CONTENT/content-files/73513-${pkgname}-${pkgver}.tar.gz)
14 md5sums=('47f8b0ca74d49e40d2a5616cb9534298')
16 build() {
17     cd $srcdir/$pkgname-$pkgver
19     # Install all the data
20     install -d $pkgdir/usr/share/{$pkgname,desktop-directories,pixmaps}
21     install -m 644 $pkgname/* $pkgdir/usr/share/$pkgname/
22     install -m 644 desktop-directories/* $pkgdir/usr/share/desktop-directories/
23     install -m 644 pixmaps/* $pkgdir/usr/share/pixmaps/
24     cp -a icons $pkgdir/usr/share
25     find $pkgdir/usr/share/icons/ -type f -exec chmod 644 {} +
27     # Install desktop and bin file
28     install -Dm 644 applications/gnome-menu-extended.desktop \
29         $pkgdir/usr/share/applications/gnome-menu-extended.desktop
30     install -Dm 755 scripts/archlinux.sh $pkgdir/usr/bin/$pkgname.sh