summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21f9f61df5f6399dfed53460fdd141dac0bf8b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Arthur Vuillard <arthur@hashbang.fr>
_pkgname=hamster-shell-extension
pkgname=gnome-shell-extension-hamster-git
pkgver=gnome.shell.3.38.r32.g75541ac
pkgrel=1
pkgdesc="GNOME Shell extension for Hamster Time Tracker."
arch=('any')
url="https://github.com/projecthamster/hamster-shell-extension"
license=('GPL')
depends=('gnome-shell')
makedepends=('git')
source=('git+https://github.com/projecthamster/hamster-shell-extension.git')
sha256sums=('SKIP')

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

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir/usr" install
}