-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 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,20 @@ | ||
name: "Build & publish metaprint release" | ||
|
||
on: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '^1.17.5' | ||
- run: GOOS=linux GOARCH=amd64 go build -o metaprint-${GITHUB_REF##*/}-x86_64 . | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "metaprint-*-*-*" | ||
token: ${{ secrets.GITHUB_TOKEN }} |
Empty file.
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,17 @@ | ||
# Maintainer: oxodao <oxodao@gmail.com> | ||
pkgname=metaprint | ||
pkgver=0.4 | ||
pkgrel=1 | ||
pkgdesc="Give up on your random scripts ! Easily render any computer infos for stuff like i3, tmux, ..." | ||
arch=('x86_64') | ||
url="https://github.com/oxodao/metaprint" | ||
license=('GPL') | ||
optdepends=() | ||
provides=("$pkgname") | ||
conflicts=("$pkgname") | ||
source=("https://github.com/oxodao/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver-linux-$CARCH") | ||
md5sums=('SKIP') | ||
|
||
package() { | ||
install -Dm 777 "$pkgname-v$pkgver-linux-$CARCH" "${pkgdir}/usr/local/bin/metaprint" | ||
} |
Empty file.