summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0c7c62d567b26d7b9cea54e8f3fd21f9257897b (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
# Maintainer: Archisman Panigrahi <apandada1@gmail.com>
pkgname=typhoon-git
_pkgname=typhoon
pkgver=v0.9.5.r2.g5ea0092
pkgrel=1
pkgdesc="A stylish weather app based on Stormcloud"
arch=('any')
url="https://github.com/archisman-panigrahi/typhoon"
provides=($_pkgname)
conflicts=($_pkgname)
license=('MIT')
depends=('gtk3' 'webkit2gtk' 'python' 'imagemagick')
makedepends=('git' 'meson' 'ninja')
source=("git+$url#branch=master")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_pkgname"
  meson setup build --prefix=/usr
  meson compile -C build
}

package() {
  cd "$srcdir/$_pkgname"
  DESTDIR="$pkgdir" meson install -C build
}