Intial Commit
This commit is contained in:
commit
a563395217
3
armv7h/flucky/.gitignore
vendored
Normal file
3
armv7h/flucky/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
!PKGBUILD
|
22
armv7h/flucky/PKGBUILD
Normal file
22
armv7h/flucky/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||
|
||||
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"
|
||||
}
|
3
x86_64/flucky/.gitignore
vendored
Normal file
3
x86_64/flucky/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
!PKGBUILD
|
22
x86_64/flucky/PKGBUILD
Normal file
22
x86_64/flucky/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user