summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Wegener2018-02-25 18:31:15 +1100
committerChristoph Wegener2018-02-25 18:31:15 +1100
commit0a29dec81cd4dd776812f0142a99a70ede5b968f (patch)
treed381c5ec8e68fb5e8b4893a46a4706b976ab0c2f /PKGBUILD
downloadaur-coinget.tar.gz
Initial commit (coinget 2.0.0)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a0d716f2634
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Christoph W <c w e g e n e r at gmail dot com>
+
+pkgname=coinget
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="the fastest cli price checker for cryptocurrencies"
+arch=('x86_64')
+url="https://github.com/Olavhaasie/coinget"
+license=('MIT')
+depends=('curl')
+makedepends=()
+provides=('coinget')
+source=("https://github.com/Olavhaasie/coinget/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('faf7998d1355331e82973564befefa23')
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make INSTDIR="$pkgdir/usr/" INSTMAN="$pkgdir/usr/share/man/man1/" install
+ install -Dm644 "README.md" "${pkgdir}/usr/share/doc/coinget/README.md"
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/coinget/LICENSE"
+}