diff options
author | Stephen Gregoratto | 2018-05-03 22:14:35 +1000 |
---|---|---|
committer | Stephen Gregoratto | 2018-05-03 22:14:35 +1000 |
commit | 65d4bb1b377f2c1cdb7b188ee03e4f82ba5da6b5 (patch) | |
tree | 7cbb3976ab93c4c6e0d902e9ea986b8826c12282 | |
download | aur-65d4bb1b377f2c1cdb7b188ee03e4f82ba5da6b5.tar.gz |
Initial commit for cointop package
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..37864e3be995 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = cointop + pkgdesc = An interactive, real-time cryptocurrency monitor + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/miguelmota/cointop + arch = x86_64 + arch = i686 + license = APACHE + makedepends = go + options = !strip + options = !emptydirs + source = https://github.com/miguelmota/cointop/archive/1.0.1.tar.gz + sha256sums = bb5450c734a2d0c54a1dc7d7f42be85eb2163c03e6d3dc1782d74b54a8cbfa69 + +pkgname = cointop + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc454cf69360 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: KingofToasters <themanhimself at sgregoratto dot me> + +pkgname=cointop +pkgver=1.0.1 +pkgrel=1 +pkgdesc="An interactive, real-time cryptocurrency monitor" +arch=('x86_64' 'i686') +url="https://github.com/miguelmota/cointop" +license=('APACHE') +makedepends=('go') +options=('!strip' '!emptydirs') +source=("$url/archive/$pkgver.tar.gz") +sha256sums=('bb5450c734a2d0c54a1dc7d7f42be85eb2163c03e6d3dc1782d74b54a8cbfa69') + +build() { + cd "$pkgname-$pkgver" + + go build -ldflags "-s -w" +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |