1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jan@archlinux.org>
7 pkgdesc="GNOME menu specifications"
8 url="https://gitlab.gnome.org/GNOME/gnome-menus"
13 makedepends=(intltool gobject-introspection git gnome-common)
14 provides=(libgnome-menu-3.so)
15 _commit=66ac7579856968d3f4b76c04d55327c60b37f2fb # tags/3.36.0^0
16 source=("git+https://gitlab.gnome.org/GNOME/gnome-menus.git#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 NOCONFIGURE=1 ./autogen.sh
31 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
44 make DESTDIR="$pkgdir" install