-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package up wakatime-zsh-plugin for both regular Zsh and Oh-My-Zsh's p…
…lugin system
- Loading branch information
Ewout van Mansom
committed
Aug 31, 2021
1 parent
4d8706b
commit 3ec169d
Showing
9 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
*.tar | ||
*.tar.* | ||
*.jar | ||
*.exe | ||
*.msi | ||
*.zip | ||
*.tgz | ||
*.log | ||
*.log.* | ||
*.sig | ||
*.tar.zst | ||
|
||
pkg/ | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pkgbase = oh-my-zsh-plugin-wakatime-git | ||
pkgdesc = Track how much time you have spent in your terminal! | ||
pkgver = 0.1.1.r7.gd3f24e9 | ||
pkgrel = 2 | ||
url = https://github.com/sobolevn/wakatime-zsh-plugin | ||
arch = any | ||
license = MIT | ||
depends = zsh | ||
depends = oh-my-zsh-git | ||
conflicts = oh-my-zsh-plugin-wakatime | ||
source = zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git | ||
sha512sums = SKIP | ||
b2sums = SKIP | ||
|
||
pkgname = oh-my-zsh-plugin-wakatime-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Maintainer: Ewout van Mansom <[email protected]> | ||
|
||
pkgname=oh-my-zsh-plugin-wakatime-git | ||
pkgver=0.1.1.r7.gd3f24e9 | ||
_pkgname=wakatime | ||
pkgrel=2 | ||
pkgdesc="Track how much time you have spent in your terminal!" | ||
arch=('any') | ||
url="https://github.com/sobolevn/wakatime-zsh-plugin" | ||
license=('MIT') | ||
depends=('zsh' 'oh-my-zsh-git') | ||
conflicts=('oh-my-zsh-plugin-wakatime') | ||
source=( | ||
"zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git" | ||
) | ||
sha512sums=('SKIP') | ||
b2sums=('SKIP') | ||
|
||
pkgver() { | ||
cd zsh-wakatime | ||
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
package() { | ||
cd zsh-wakatime | ||
install -vDm 644 ${_pkgname}.plugin.zsh \ | ||
-t "${pkgdir}/usr/share/oh-my-zsh/custom/plugins/${_pkgname}/" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pkgbase = oh-my-zsh-plugin-wakatime | ||
pkgdesc = Track how much time you have spent in your terminal! | ||
pkgver = 0.1.0 | ||
pkgrel = 1 | ||
url = https://github.com/sobolevn/wakatime-zsh-plugin | ||
arch = any | ||
license = MIT | ||
depends = zsh | ||
depends = oh-my-zsh-git | ||
source = zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git#tag=0.1.0 | ||
sha512sums = SKIP | ||
b2sums = SKIP | ||
|
||
pkgname = oh-my-zsh-plugin-wakatime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Maintainer: Ewout van Mansom <[email protected]> | ||
|
||
pkgname=oh-my-zsh-plugin-wakatime | ||
_pkgname=wakatime | ||
pkgver=0.1.0 | ||
pkgrel=1 | ||
pkgdesc="Track how much time you have spent in your terminal!" | ||
arch=('any') | ||
url="https://github.com/sobolevn/wakatime-zsh-plugin" | ||
license=('MIT') | ||
depends=('zsh' 'oh-my-zsh-git') | ||
source=( | ||
"zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git#tag=${pkgver}" | ||
) | ||
sha512sums=('SKIP') | ||
b2sums=('SKIP') | ||
|
||
package() { | ||
cd zsh-wakatime | ||
install -vDm 644 ${_pkgname}.plugin.zsh \ | ||
-t "${pkgdir}/usr/share/oh-my-zsh/custom/plugins/${_pkgname}/" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pkgbase = zsh-wakatime-git | ||
pkgdesc = Track how much time you have spent in your terminal! | ||
pkgver = 0.1.1.r7.gd3f24e9 | ||
pkgrel = 1 | ||
url = https://github.com/sobolevn/wakatime-zsh-plugin | ||
arch = any | ||
license = MIT | ||
depends = zsh | ||
conflicts = zsh-wakatime | ||
source = zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git | ||
sha512sums = SKIP | ||
b2sums = SKIP | ||
|
||
pkgname = zsh-wakatime-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Maintainer: Ewout van Mansom <[email protected]> | ||
|
||
pkgname=zsh-wakatime-git | ||
_pkgname=wakatime | ||
pkgver=0.1.1.r7.gd3f24e9 | ||
pkgrel=1 | ||
pkgdesc="Track how much time you have spent in your terminal!" | ||
arch=('any') | ||
url="https://github.com/sobolevn/wakatime-zsh-plugin" | ||
license=('MIT') | ||
depends=('zsh') | ||
conflicts=('zsh-wakatime') | ||
source=( | ||
"zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git" | ||
) | ||
sha512sums=('SKIP') | ||
b2sums=('SKIP') | ||
|
||
pkgver() { | ||
cd zsh-wakatime | ||
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
package() { | ||
cd zsh-wakatime | ||
install -vDm 644 ${_pkgname}.plugin.zsh \ | ||
-t "${pkgdir}/usr/share/zsh/plugins/${_pkgname}/" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pkgbase = zsh-wakatime | ||
pkgdesc = Track how much time you have spent in your terminal! | ||
pkgver = 0.1.0 | ||
pkgrel = 2 | ||
url = https://github.com/sobolevn/wakatime-zsh-plugin | ||
arch = any | ||
license = MIT | ||
depends = zsh | ||
source = zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git#tag=0.1.0 | ||
sha512sums = SKIP | ||
b2sums = SKIP | ||
|
||
pkgname = zsh-wakatime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Maintainer: Ewout van Mansom <[email protected]> | ||
|
||
pkgname=zsh-wakatime | ||
_pkgname=wakatime | ||
pkgver=0.1.0 | ||
pkgrel=2 | ||
pkgdesc="Track how much time you have spent in your terminal!" | ||
arch=('any') | ||
url="https://github.com/sobolevn/wakatime-zsh-plugin" | ||
license=('MIT') | ||
depends=('zsh') | ||
source=( | ||
"zsh-wakatime::git+https://github.com/sobolevn/wakatime-zsh-plugin.git#tag=${pkgver}" | ||
) | ||
sha512sums=('SKIP') | ||
b2sums=('SKIP') | ||
|
||
package() { | ||
cd "${pkgname}" | ||
install -vDm 644 ${_pkgname}.plugin.zsh \ | ||
-t "${pkgdir}/usr/share/zsh/plugins/${_pkgname}/" | ||
} | ||
|