summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c831524ea23db067f7c400ffaebe6e3216260995 (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: Zeners <zener at sbg dot at>
# Contributor: Olaf Leidinger <oleid at mescharet dot de>

pkgname=gnome-shell-extension-teatime
_gitname=gnome-shell-teatime
pkgrel=1
pkgdesc="A tea drawing timer for the gnome-shell"
arch=('any')
url="https://github.com/zeners/gnome-shell-teatime"
license=('GPL')
depends=('gnome-shell>=1:47')
makedepends=('git' 'intltool' 'glib2' 'gnome-common')
source=("git+${url}")
pkgver=47.0.r0.g
pkgver() {
  cd "$srcdir/$_gitname"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_gitname"
  ./autogen.sh 
  ./configure --prefix=/usr
  make
}
package() {
  cd "$srcdir/$_gitname"
  make DESTDIR="$pkgdir" install
}

sha256sums=('SKIP')