summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4976c8c374a435db778f336bda108da3593521bc (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
pkgbase=('python-lemonsqueezer')
pkgname=('python-lemonsqueezer')
_module='lemonsqueezer'
pkgver='0.1.1'
pkgrel=1
pkgdesc="An fast and lightweight wrapper for lemonbar"
url="https://gitlab.com/michalis_pardalos/lemonsqueezer"
depends=('python' 'lemonbar')
makedepends=('python-setuptools')
optdepends=('acpi: For Battery module'
            'bspwm: For BSPWMDesktops module'
            'dbus: For MediaControls module')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/l/lemonsqueezer/lemonsqueezer-${pkgver}.tar.gz")
md5sums=('d267b2a5ebc0f4ea01bf866355299912')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}