blob: 381ae9a8ceb6f010dccf31524562052c11e6b124 (
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-calc-git
_pkgname=gnome-shell-calculator
pkgver=r10.26c8c65
pkgrel=1
pkgdesc="Simple gnome shell calculator in run dialog that you can use with alt+f2"
arch=('any')
url="https://github.com/danigm/gnome-shell-calculator"
license=('GPL2')
depends=('gnome-shell')
makedepends=('git')
install='gschemas.install'
source=("git+https://github.com/danigm/gnome-shell-calculator")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
for i in $(find -type f); do
install -Dm 644 "$i" "${pkgdir}/usr/share/gnome-shell/extensions/calc@danigm.wadobo.com/${i}"
done
}
|