summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bc3a603860f7611fea66d21ece3516bb546bd34 (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: Butui Hu <hot123tea123@gmail.com>
# Contributor: Thanos Apostolou <thanosapostolou@outlook.com>

pkgname=gnome-shell-extension-floatingdock-git
pkgver=r97.5906027
pkgrel=1
pkgdesc='Move dock anywhere on the desktop'
arch=('any')
url='https://github.com/sunwxg/gnome-shell-extension-floatingDock'
license=('MIT')
depends=(
  gnome-shell
)
makedepends=(git)
source=(
  "${pkgname}::git+https://github.com/sunwxg/gnome-shell-extension-floatingDock.git"
)
sha256sums=('SKIP')

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

package() {
	cd "${pkgname}"
  install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions"
  cp -r floatingDock@sun.wxg@gmail.com "${pkgdir}/usr/share/gnome-shell/extensions"
  install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: