summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 469fb9985efee2ac4ea3c050243003b44c201aaa (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
# Maintainer: Mendel Greenberg <chabad 360 at gmail dot com>
pkgname=gnome-shell-extension-argos-git
pkgver=r51.e7c69ff
pkgrel=1
pkgdesc="Create GNOME Shell extensions in seconds"
arch=('any')
url="https://github.com/p-e-w/argos"
license=('GPL3')
groups=('gnome-shell-extensions')
depends=('gnome-shell')
makedepends=('git')
provides=('gnome-shell-extension-argos')
conflicts=('gnome-shell-extension-argos')
source=('git+https://github.com/p-e-w/argos.git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/argos"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${srcdir}/argos"
  chmod -R 644 ./*
  install -d "${pkgdir}/usr/share/gnome-shell/extensions/"
  cp -r "argos@pew.worldwidemann.com/" "${pkgdir}/usr/share/gnome-shell/extensions/"
  chmod -R 755 "${pkgdir}/usr/share/gnome-shell/extensions/argos@pew.worldwidemann.com/"
}

if [ -z "$install" ]; then
  install=gschemas.install
fi