summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78e700e43e2345b70da22a31eb981e29e6018974 (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
_name=satellite
pkgname=satellite-gtk
pkgver=0.4.2
pkgrel=2
pkgdesc="Displays Global Navigation Satellite System (GNSS: GPS, Galileo, Glonass etc.) information obtained from NMEA sources and saves your tracks"
arch=('any')
url="https://codeberg.org/tpikonen/$_name"
license=('GPL3')
depends=(python-gobject gtk3 libhandy python-pydbus python-pynmea2 python-gpxpy)
makedepends=(python-build python-installer python-wheel)
optdepends=(modemmanager gnss-share)
source=("https://codeberg.org/tpikonen/$_name/archive/$pkgver.tar.gz")
sha512sums=('29ea2bac80b0eea0d523e74bfec61dafdc6f41dd9b633ab3b5be0991d939145469b29986db4b071fc51acc5b3b537c511721c49c520261f89eb17960c310458b')


build() {
    cd "$_name"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name"
    python -m installer --destdir="$pkgdir" dist/*.whl
}