updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / appmenu-gtk3 / PKGBUILD
blobf34e08ade233d9f75ac6ca8cb451214e33a06d72
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=appmenu-gtk3
3 _pkgname=appmenu-gtk
4 pkgver=0.3.0
5 pkgrel=1
6 pkgdesc="Adds appmenu support for GTK+ 3 apps"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/appmenu-gtk"
9 license=('LGPL')
10 depends=('gtk3-ubuntu>=3.0' 'libdbusmenu>=0.3.101')
11 true && depends=('gtk3-ubuntu>=3.0' 'libdbusmenu-gtk3>=0.3.101')
12 options=(!libtool)
13 source=(http://launchpad.net/$_pkgname/0.3/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
14 md5sums=('2379672a7d00fa1ef5b15c67f76886be')
16 build() {
17   cd "$srcdir/$_pkgname-$pkgver"
19   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
20               --disable-static
21   make
24 package() {
25   cd "$srcdir/$_pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install
28   install -Dm755 "$pkgdir/etc/X11/Xsession.d/80appmenu-gtk3" "$pkgdir/etc/X11/xinit/xinitrc.d/80appmenu-gtk3"
29   rm -r "$pkgdir/etc/X11/Xsession.d"