diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-09 08:55:13 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-09 08:55:13 +0100 |
commit | bebdc1a276908297b4cda6145e39c95e1b09abbd (patch) | |
tree | 97ec9562f8a267592ece2ba4cfe4c8cb4354a0ec /testing/glow | |
parent | bc987c0bdfc7110dd7baa7eee7f67188d99bd51c (diff) | |
download | aports-bebdc1a276908297b4cda6145e39c95e1b09abbd.tar.bz2 aports-bebdc1a276908297b4cda6145e39c95e1b09abbd.tar.xz |
community/glow: move from testing
Diffstat (limited to 'testing/glow')
-rw-r--r-- | testing/glow/APKBUILD | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/testing/glow/APKBUILD b/testing/glow/APKBUILD deleted file mode 100644 index ae8195a45c..0000000000 --- a/testing/glow/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: Leo <thinkabit.ukim@gmail.com> -pkgname=glow -pkgver=0.1.6 -pkgrel=0 -pkgdesc="CLI Markdown render" -url="https://github.com/charmbracelet/glow" -options="!check chmod-clean" -arch="all" -license="MIT" -makedepends="go" -source="$pkgname-$pkgver.tar.gz::https://github.com/charmbracelet/glow/archive/v$pkgver.tar.gz" -builddir="$srcdir/src/github.com/glow" - -prepare() { - mkdir -p ${builddir%/*} - mv "$srcdir"/$pkgname-$pkgver "$builddir"/ - default_prepare -} - -build() { - export GOPATH="$srcdir" - go build -v -o glow -ldflags "-X main.Version=$pkgver -s -w" -} - -package() { - install -Dm755 glow "$pkgdir"/usr/bin/glow -} - -sha512sums="7b0e0c0c923a75f9f0e4a280ce5e15651f93f10a454f3c287b0e5d5c80985fa1825e5bd1c6ec6e4b666e955cd2dbf4d596d0a14fa37dbf5798e8a931ed663623 glow-0.1.6.tar.gz" |