summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dca8a18b43cbca72e7c1438d415c29d1b50f9273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributors: Calimero <calimeroteknik@free.fr>
# Maintainer: mimas <mimasgpc@free.fr>
# Last Modified 2024-04-02 by Martin Filion <Mordillo98@gmail.com>

pkgname=openbox-menu
pkgver=0.8.0
pkgrel=3
pkgdesc="Dynamic XDG menu for openbox"
arch=('i686' 'x86_64')
url="http://fabrice.thiroux.free.fr/openbox-menu_en.html"
license=('GPL3')
depends=('gtk3' 'menu-cache' 'lxterminal')
optdepends=('lxmenu-data: LXDE menus' 'gnome-menus: GNOME menus')
source=("git+https://github.com/fabriceT/openbox-menu" "with-svg.patch" "openbox-menu.patch" "menu.patch" "utils.patch")
md5sums=('SKIP'
         '484bd49f619e57f9fb2be42931d57dd5'
	 '1a74746fcf8b24f76fc79c61d1533db0'
	 '5d92e49ed689ada8b2a02b04cc50a4b0'
 	 '3af738bd95444fc4c66f0893863d7572')

build() {
  cd "${srcdir}/${pkgname}"
  patch -i ../with-svg.patch

  # Uses Lxterminal instead of xterm for terminal apps.
  patch src/menu.c < ../menu.patch                 
  patch src/openbox-menu.h < ../openbox-menu.patch 


  # Change the icons default resolution from 16x16 to 48x48.
  patch src/utils.c < ../utils.patch                 

  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make install DESTDIR="${pkgdir}/usr/"
}