summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3880ae0e179ffb110394768fcb4c7604a86ccf0f (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
# Maintainer: Adam Tazul (SimPilotAadamT) <adam_tazul@outlook.com>

pkgname=python-fildem-git
pkgver=0
pkgrel=2
pkgdesc="This project is a fork of gnomehud with the adition of a global menu bar"
arch=('i686' 'x86_64')
url="https://github.com/gonzaarcr/fildem"
depends=('bamf'
         'appmenu-gtk-module'
         'libkeybinder3'
         'libdbusmenu-gtk2'
         'libdbusmenu-gtk3'
         'python-fuzzysearch'
         'python-future'
         'dbus-python')
makedepends=('git')
provides=("python3-fildem"
          "python-fildem")
conflicts=("python3-fildem"
           "python-fildem")
source=("git+https://github.com/gonzaarcr/fildem.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/fildem"
    python3 -c "import fildem; print(fildem.__version__)"
}

build() {
    cd "$srcdir/fildem"
    python3 setup.py build
}

check() {
    cd "$srcdir/fildem"
    python3 setup.py test
}

package() {
    cd "$srcdir/fildem"
    python3 setup.py install --skip-build --root=$pkgdir --optimize=1
}