blob: 79691cf69927b2ebbe849349d06087499b37b7be (
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
|
# Maintainer: Taijian <taijian@posteo.de>
# Contributor: jtts
# Contributor: Christian METZLER <neroth@xeked.com>
pkgname=gnome-shell-extension-openweather-git
pkgver=r1098.d714eb1
pkgrel=1
pkgdesc="A simple extension for displaying weather informations from several cities in GNOME Shell."
arch=(any)
url="https://gitlab.com/jenslody/gnome-shell-extension-openweather"
license=(GPL3)
depends=(glib2 gettext pkg-config)
makedepends=(git gnome-common autoconf automake intltool)
provides=(gnome-shell-extension-weather-neroth-git
gnome-shell-extension-weather-git
gnome-shell-extension-yawe-git)
conflicts=(gnome-shell-extension-weather-neroth-git
gnome-shell-extension-weather-git
gnome-shell-extension-yawe-git)
install='gschemas.install'
source=("$pkgname"::"git+https://gitlab.com/jenslody/gnome-shell-extension-openweather.git#branch=gnome40")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
./autogen.sh --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR=$pkgdir install
}
|