From a5633952176dc14c885ab71e2fbf97f062b5f97f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 10 Dec 2019 21:58:15 +0100 Subject: [PATCH] Intial Commit --- armv7h/flucky/.gitignore | 3 +++ armv7h/flucky/PKGBUILD | 22 ++++++++++++++++++++++ x86_64/flucky/.gitignore | 3 +++ x86_64/flucky/PKGBUILD | 22 ++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 armv7h/flucky/.gitignore create mode 100644 armv7h/flucky/PKGBUILD create mode 100644 x86_64/flucky/.gitignore create mode 100644 x86_64/flucky/PKGBUILD diff --git a/armv7h/flucky/.gitignore b/armv7h/flucky/.gitignore new file mode 100644 index 0000000..73e070b --- /dev/null +++ b/armv7h/flucky/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!PKGBUILD \ No newline at end of file diff --git a/armv7h/flucky/PKGBUILD b/armv7h/flucky/PKGBUILD new file mode 100644 index 0000000..e74ee48 --- /dev/null +++ b/armv7h/flucky/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Markus Pesch + +pkgname=flucky +pkgver=v0.1.0 +pkgrel=2 +pkgdesc='A lightweight golang program to read values from different sensors' +arch=('armv7h') +url=https://github.com/volker-raschek/flucky +license=('Apache 2.0') +makedepends=('git' 'go' 'make') +source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + make bin/linux/arm/7/flucky VERSION=${pkgver} +} + +package() { + install -Dm4755 "${srcdir}/${pkgname}/bin/linux/arm/7/flucky" "$pkgdir/usr/bin/flucky" + install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} \ No newline at end of file diff --git a/x86_64/flucky/.gitignore b/x86_64/flucky/.gitignore new file mode 100644 index 0000000..73e070b --- /dev/null +++ b/x86_64/flucky/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!PKGBUILD \ No newline at end of file diff --git a/x86_64/flucky/PKGBUILD b/x86_64/flucky/PKGBUILD new file mode 100644 index 0000000..5d936a8 --- /dev/null +++ b/x86_64/flucky/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Markus Pesch + +pkgname=flucky +pkgver=v0.1.0 +pkgrel=2 +pkgdesc='A lightweight golang program to read values from different sensors' +arch=('x86_64') +url=https://github.com/volker-raschek/flucky +license=('Apache 2.0') +makedepends=('git' 'go' 'make') +source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + make bin/linux/amd64/flucky VERSION=${pkgver} +} + +package() { + install -Dm4755 "${srcdir}/${pkgname}/bin/linux/amd64/flucky" "$pkgdir/usr/bin/flucky" + install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} \ No newline at end of file