github-cli:first pisi release
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.system("go build \
|
||||
-trimpath \
|
||||
-ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v0.5.7 -X github.com/cli/cli/command.BuildDate=2020-02-24' \
|
||||
-o 'bin/gh' ./cmd/gh" % get.LDFLAGS())
|
||||
|
||||
def install():
|
||||
shelltools.cd("../cli-0.5.7")
|
||||
pisitools.insinto("/usr/bin", "bin/gh")
|
||||
pisitools.dodoc("LICENSE", "README*")
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>github-cli</Name>
|
||||
<Homepage>https://github.com/cli/cli</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.scm</PartOf>
|
||||
<License>MIT</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>The GitHub CLI</Summary>
|
||||
<Description>gh is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.</Description>
|
||||
<Archive sha1sum="a649a97e57cab30c9a577fd1af43c435e8742bbd" type="targz">https://github.com/cli/cli/archive/v0.5.7.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>golang</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>github-cli</Name>
|
||||
<Summary>The GitHub CLI</Summary>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/gh</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-02-24</Date>
|
||||
<Version>0.5.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>github-cli</Name>
|
||||
<Summary xml:lang="tr">Github komut satırı arayüzü.</Summary>
|
||||
<Description xml:lang="tr">gh, resmi Github komut satırı arayüzüdür.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user