diff options
author | aksr | 2018-12-15 04:13:47 +0100 |
---|---|---|
committer | aksr | 2018-12-15 04:13:47 +0100 |
commit | fcd7d0c78d38de621e6e3a724a6eb3c1961443be (patch) | |
tree | 2864a8d8138075e3c63b8fb2dfc4257fb4b86d74 | |
parent | 5764658c020bb2d708e41f53245235262230cd74 (diff) | |
download | aur-fcd7d0c78d38de621e6e3a724a6eb3c1961443be.tar.gz |
Fix build.
-rw-r--r-- | .SRCINFO | 4 | ||||
l--------- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 8 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Oct 28 14:47:33 UTC 2016 +# Sat Dec 15 03:13:19 UTC 2018 pkgbase = ssh-chat-git pkgdesc = Chat over SSH - pkgver = r366.7781d5b + pkgver = r387.f36d7eb pkgrel = 1 url = https://github.com/shazow/ssh-chat arch = i686 diff --git a/.gitignore b/.gitignore new file mode 120000 index 000000000000..25c0564928e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/home/aksr/arch/pkg/.gitignore
\ No newline at end of file @@ -1,21 +1,19 @@ -# Maintainer: Jean Lucas <jean at 4ray dot co> +# Contributor: Jean Lucas <jean at 4ray dot co> # Contributor: John Jenkins <twodopeshaggy at gmail dot com> - +# Maintainer: aksr <aksr at t-com dot me> pkgname=ssh-chat-git -pkgver=r366.7781d5b +pkgver=r387.f36d7eb pkgrel=1 pkgdesc="Chat over SSH" arch=('i686' 'x86_64') url="https://github.com/shazow/ssh-chat" -_gourl="github.com/shazow/ssh-chat" license=('MIT') makedepends=('go' 'git') +_gourl="github.com/shazow/ssh-chat" pkgver() { GOPATH=$srcdir go get -d ${_gourl} - cd $srcdir/src/${_gourl} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } @@ -25,9 +23,8 @@ build() { package() { cd ${srcdir} - install -Dm 0755 bin/ssh-chat $pkgdir/usr/bin/ssh-chat - install -Dm 0755 bin/examples $pkgdir/usr/bin/examples install -Dm 0644 src/${_gourl}/README.md $pkgdir/usr/share/doc/${pkgname%-*}/README.md install -Dm 0644 src/${_gourl}/LICENSE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE } + |