diff options
author | Atte Lautanala | 2017-05-19 15:51:05 +0300 |
---|---|---|
committer | Atte Lautanala | 2017-05-19 15:51:05 +0300 |
commit | 5adf07ca72046a6a1f022f9bbfbcd218655bf3fb (patch) | |
tree | 9bcd8913775dd47a975d7a3552ab19f5dcf073a7 | |
download | aur-5adf07ca72046a6a1f022f9bbfbcd218655bf3fb.tar.gz |
Phraseapp version 1.4.5
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a19bb1fd3007 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = phraseapp-client + pkgdesc = PhraseApp CLI tool + pkgver = 1.4.5 + pkgrel = 1 + url = https://phraseapp.com/cli + arch = i686 + arch = x86_64 + license = MIT + source_i686 = https://github.com/phrase/phraseapp-client/releases/download/1.4.5/phraseapp_linux_386.tar.gz + sha256sums_i686 = 7e69dcf9e24fc9c7e64ffbb201d991a7f3ba9a840125ab334b0c0dc86cc2c554 + source_x86_64 = https://github.com/phrase/phraseapp-client/releases/download/1.4.5/phraseapp_linux_amd64.tar.gz + sha256sums_x86_64 = 6fa4463fc74e602ccc3b93c25038aedf7cbdb8e7afa2997a3629d6678f959cf1 + +pkgname = phraseapp-client + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cc0266c51640 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=phraseapp-client +pkgver=1.4.5 +pkgrel=1 +pkgdesc="PhraseApp CLI tool" +arch=('i686' 'x86_64') +url="https://phraseapp.com/cli" +license=('MIT') + +source_i686=('https://github.com/phrase/phraseapp-client/releases/download/1.4.5/phraseapp_linux_386.tar.gz') +source_x86_64=('https://github.com/phrase/phraseapp-client/releases/download/1.4.5/phraseapp_linux_amd64.tar.gz') + +sha256sums_i686=('7e69dcf9e24fc9c7e64ffbb201d991a7f3ba9a840125ab334b0c0dc86cc2c554') +sha256sums_x86_64=('6fa4463fc74e602ccc3b93c25038aedf7cbdb8e7afa2997a3629d6678f959cf1') + +package() { + if [ $CARCH == 'i686' ]; then + install -Dm0755 "$srcdir/phraseapp_linux_386" "$pkgdir/usr/bin/phraseapp" + else + install -Dm0755 "$srcdir/phraseapp_linux_amd64" "$pkgdir/usr/bin/phraseapp" + fi +} |