aboutsummaryrefslogtreecommitdiffstats
path: root/testing/oh-my-zsh/APKBUILD
blob: de33449e03cf30aac02220a637d8fada07bf4728 (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
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>

pkgname=oh-my-zsh
pkgver=0_git20180122
pkgrel=1
pkgdesc="A delightful community-driven framework for managing your zsh \
configuration that includes plugins and themes."
url="https://ohmyz.sh/"
arch="noarch"
license="MIT"
depends="zsh powerline-extra-symbols"
subpackages="$pkgname-doc"
options="!check" # no upstream tests
_gitrev="37c2d0ddd751e15d0c87a51e2d9f9849093571dc"
install="$pkgname.post-install $pkgname.post-upgrade"
source="$pkgname-$pkgver.zip::https://github.com/robbyrussell/$pkgname/archive/$_gitrev.zip
	install-path.patch"
builddir="$srcdir/"$pkgname-$_gitrev

package() {
	install -d "$pkgdir"/usr/share/oh-my-zsh/ \
		"$pkgdir"/usr/share/doc/$pkgname/
	chmod 755 $(find . -type d)
	mv * "$pkgdir"/usr/share/oh-my-zsh/
	install -t "$pkgdir"/usr/share/doc/$pkgname/ \
		"$pkgdir"/usr/share/oh-my-zsh/README.md
}

sha512sums="51724f26ff7a59a1c9e517677b4a45750326ac4ad9f6b3579ed009253f3d37dedafd92c7d8e921bb456ae6862259173f8c9ea5fa562ee2a1c829b09f8f49dba0  oh-my-zsh-0_git20180122.zip
56bcb688489dcf74ba09a2924bd029786273781cf801c990f4ac2ccf53e4d54143f6c59ff49d0fa11189e07f16665ab7329dead0b9853da7bf1480caa419bf15  install-path.patch"