summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc97233fde5bac493a176d4fefee8667bd649288 (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: Nattgew <nattarchy at gmail dot com>

pkgname=gnome-shell-extension-bitcoin-markets-git
pkgdesc="Displays Bitcoin and Altcoin market information in the Gnome Shell."
pkgver=176.6a12763
pkgrel=1
arch=(any)
url='https://github.com/OttoAllmendinger/gnome-shell-bitcoin-markets/'
license=(MIT)
depends=('gnome-shell')
makedepends=('git zip unzip gjs')
source=("$pkgname::git://github.com/OttoAllmendinger/gnome-shell-bitcoin-markets.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir"/"$pkgname"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
    cd "$srcdir"/"$pkgname"
    make
    mkdir -p $pkgdir/usr/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com
    unzip -q gnome-shell-bitcoin-markets.zip -d $pkgdir/usr/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com
    #rm gnome-shell-bitcoin-markets.zip
    chmod -R 644 $pkgdir/usr/share/gnome-shell/extensions/*
}