summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97c7c4bbfee16240ee5eec2ff590873e2b3fcebb (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Maintainer : Antonio Orefice <xt7player@gmail.com>
# Contributor: SanskritFritz (gmail)

pkgname=higgins-git
pkgver=r441.a4d00dc
pkgrel=1
pkgdesc="Yet another application launcher, search for things, do calculations or whatever you want through external plugins"
arch=('any')
license=('GPL')
url="https://github.com/kokoko3k/higgins"

makedepends=('gambas3-dev-tools' 'git')

depends=( 
        'schedtool'
        'gambas3-runtime>=3.1.1'
        'gambas3-gb-form>=3.1.1'
        'gambas3-gb-qt5>=3.1.1'
        'gambas3-gb-desktop>=3.1.1'
        'gambas3-gb-image>=3.1.1'
        'gambas3-gb-settings>=3.1.1'
        'gambas3-gb-form-stock>=3.1.1'
        'gambas3-gb-desktop-x11'
        'gambas3-gb-web'
        'gambas3-gb-net'
        'gambas3-gb-util'
        'gambas3-gb-dbus'
        'gambas3-gb-image'
        'gambas3-gb-args'
        'gambas3-gb-image-effect'
        'gambas3-gb-util-web'
        'xbindkeys')

source=("git+https://github.com/kokoko3k/higgins.git")
md5sums=('SKIP')

pkgver() {
  cd "higgins"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd higgins

  gbc3 -e -a -g -t  -f public-module -f public-control || gbc3 -e -a -g -t -p -m
  gba3
}

package() {
  cd higgins

  install -d ${pkgdir}/usr/bin
  install -m755 higgins.gambas ${pkgdir}/usr/bin/higgins
  install -D appicon.png ${pkgdir}/usr/share/pixmaps/higgins.png
  install -D higgins.desktop ${pkgdir}/usr/share/applications/higgins.desktop
}