pkgname=appmenu-gtk-module pkgver=24.05 _pkgver=24.05 _commit=b5ace7bf5bd6e3ec3b20e98befb5da39 pkgrel=1 pkgdesc="Small GTK Module that strips menus from all GTK programs, converts to MenuModel and send to AppMenu." arch=('x86_64') url="https://gitlab.com/vala-panel-project/vala-panel-appmenu" license=('GPL') depends=('gtk3') makedepends=('meson' 'ninja') #source=("https://gitlab.com/vala-panel-project/vala-panel-appmenu/uploads/${_commit}/${pkgname}-${_pkgver}.tar.xz" source=("https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/${_pkgver}/vala-panel-appmenu-${_pkgver}.tar.bz2" '80-appmenu-gtk-module') md5sums=('8fc42b2f98fe782b3b2d9d0bc0f9fb96' 'eef92e41f9e4c2ea16c0d706cc511540') build() { mkdir -p build cd build meson setup ../vala-panel-appmenu-${_pkgver}/subprojects/${pkgname} \ --prefix=/usr \ --buildtype=release \ -Dgtk=3 ninja } package() { cd build DESTDIR=${pkgdir} ninja install install -Dm755 ../80-appmenu-gtk-module ${pkgdir}/etc/X11/xinit/xinitrc.d/80-appmenu-gtk-module }