-
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.
- Loading branch information
0 parents
commit 3c14abd
Showing
4 changed files
with
49 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,7 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
build-test: | ||
uses: cygporter/workflows/.github/workflows/build-test.yml@v1 | ||
with: | ||
cygport_file: tasksh.cygport |
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,5 @@ | ||
This repository contains the files required to build and package | ||
[tasksh][] for [Cygwin][]. | ||
|
||
[tasksh]: https://github.com/GothenburgBitFactory/taskshell | ||
[Cygwin]: https://cygwin.com/ |
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,37 @@ | ||
NAME=tasksh | ||
VERSION=1.2.0 | ||
RELEASE=1 | ||
CATEGORY=Office | ||
SUMMARY='A shell for Taskwarrior' | ||
DESCRIPTION='Tasksh is a shell for Taskwarrior' | ||
HOMEPAGE=https://github.com/GothenburgBitFactory/taskshell | ||
LICENSE=MIT | ||
|
||
# This tarball needs manually preparing: | ||
# - It must include the submodules, which are missing from the main upstream | ||
# source package and can't be downloaded directly because the v1.2.0 tag in | ||
# the upstream repository has the wrong submodule URL. | ||
# - It must include the .git directory, as that's used by the build process. | ||
SRC_URI=taskshell.tar.xz | ||
SRC_DIR=taskshell | ||
|
||
BUILD_REQUIRES=cmake | ||
|
||
inherit cmake | ||
|
||
src_compile () { | ||
# Need to manually link the .git directory, as the build depends on it | ||
# but lndirs skips it. | ||
lndirs | ||
ln -s "$S"/.git "$B"/.git | ||
cd "$B" | ||
cygcmake -DCMAKE_BUILD_TYPE=release -DTASK_DOCDIR=share/doc/tasksh . | ||
cygmake | ||
} | ||
|
||
src_test () { | ||
# Tests rely on Python2.7 and so are broken. Don't run them. | ||
: | ||
} | ||
|
||
# vim: set noexpandtab tabstop=8 listchars=tab\:\ \ ,trail\:-,lead\:- |
Binary file not shown.