diff options
author | asm0dey | 2019-02-10 00:08:05 +0300 |
---|---|---|
committer | asm0dey | 2019-02-10 00:08:05 +0300 |
commit | 8bab035a64d90a4ad981ffa2c74e720686bde655 (patch) | |
tree | 1bab3d3a435e7041a942c5098e06a84141b983e7 | |
download | aur-8bab035a64d90a4ad981ffa2c74e720686bde655.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3c6a0f033e34 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = gofish-packages + pkgdesc = Crossplatform package manager + pkgver = 0.10.0 + pkgrel = 1 + url = https://gofi.sh/index.html + arch = any + license = Apache + source = https://gofi.sh/releases/gofish-v0.10.0-linux-amd64.tar.gz + md5sums = 253b8d83c664d6764a5a4493e07d9c0e + +pkgname = gofish-packages + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c230193ac7b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..07fd752133ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: asm0dey <pavel.finkelshtein+AUR@gmail.com> +pkgname=gofish-packages +pkgver=0.10.0 +pkgrel=1 +pkgdesc="Crossplatform package manager" +arch=('any') +url="https://gofi.sh/index.html" +license=('Apache') +ARCH=$(uname -m) +case $CARCH in + armv5*) ARCH="armv5";; + armv6*) ARCH="armv6";; + armv7*) ARCH="armv7";; + aarch64) ARCH="arm64";; + x86) ARCH="386";; + x86_64) ARCH="amd64";; + i686) ARCH="386";; + i386) ARCH="386";; +esac +source=("https://gofi.sh/releases/gofish-v$pkgver-linux-$ARCH.tar.gz" +) +md5sums=('253b8d83c664d6764a5a4493e07d9c0e' +) +package() { + install -Dm755 "$srcdir/linux-$ARCH/gofish" "$pkgdir/usr/local/bin/gofish" + install -Dm644 "$srcdir/linux-$ARCH/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim: ts=4 sw=4 et: + |