summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4aafb019be01720dbb0671db0e4205820f9eae4 (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
pkgname=gnome-shell-extension-hide-activities-git
_pkgname=${pkgname%-git}
pkgver=44.r0.g9775c64
pkgrel=1
pkgdesc="A simple GNOME Shell extension to hide the Activities button from the status bar"
arch=('any')
url="https://github.com/zeten30/HideActivities"
license=('Unlicense')
depends=('gnome-shell')
makedepends=('git' 'zip')
source=("${_pkgname}::git+https://github.com/zeten30/HideActivities")
md5sums=('SKIP')
_extdir="usr/share/gnome-shell/extensions/Hide_Activities@shay.shayel.org"

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags --abbrev=7 | sed 's/-/.r/;s/-/./'
}

build() {
  cd "$srcdir/$_pkgname"
  make release
}

package() {
  cd "$srcdir/$_pkgname"
  install -d "$pkgdir/${_extdir}"
  unzip "*.zip" -d "$pkgdir/${_extdir}"
}