summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22fafee55f88cb664ef61d6b897a88f467cd227f (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
# Maintainer: Michal DonĂ¡t <michal at donat dot cz>
pkgname=gnome-shell-extension-transparent-osd-git
_pkgname=gsext-transparent-osd
pkgver=r4.45f2400
pkgrel=1
pkgdesc="Gnome shell extension to add transparency to the OSD"
arch=('any')
url="https://github.com/ipaq3870/gsext-transparent-osd"
license=('GPL2')
depends=('gnome-shell')
makedepends=('git')
install='gschemas.install'
source=("git+https://github.com/ipaq3870/gsext-transparent-osd")
md5sums=('SKIP')

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

package() {
  cd "${srcdir}/${_pkgname}/transparentosd@ipaq3870"

  for i in $(find -type f); do
    install -Dm 644 "$i" "${pkgdir}/usr/share/gnome-shell/extensions/transparentosd@ipaq3870/${i}"
  done
}