commit a5633952176dc14c885ab71e2fbf97f062b5f97f Author: Markus Pesch Date: Tue Dec 10 21:58:15 2019 +0100 Intial Commit 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