summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea4c2c43e68765593131a5292ff26013e7e09bbd (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
# Author: Robert Tari <robert at tari dot in>
# Maintainer: Robert Tari <robert at tari dot in>

pkgname="lampswitch"
pkgver="20.10.27"
pkgrel=1
pkgdesc="Indicator and control applet for web services"
arch=("any")
url="https://tari.in/www/software/lampswitch"
license=("GPL3")
depends=("gobject-introspection" "gtk3" "python-gobject" "libayatana-appindicator" "desktop-file-utils")
makedepends=("python-setuptools" "python-polib")
install="${pkgname}.install"
source=("https://github.com/tari01/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=("01433ed4e68cab02464daf2d87256f03")

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

package()
{
    cd ${srcdir}/${pkgname}-${pkgver}
    python setup.py install --root="${pkgdir}" --optimize=1

}