From da54d933611e3a66dd44b8dc313fe71598ad4ad8 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Fri, 19 Dec 2025 14:26:44 +0000 Subject: Add PKGBUILD file for flatbot --- flatbot/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 flatbot/PKGBUILD diff --git a/flatbot/PKGBUILD b/flatbot/PKGBUILD new file mode 100644 index 0000000..380fa0b --- /dev/null +++ b/flatbot/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Dmitry Ilvokhin + +pkgname=flatbot +pkgver=1.0.0 +pkgrel=1 +pkgdesc='Telegram notification tool for rightmove.co.uk URLs' +url='https://git.ilvokhin.com/flatbot.git' +arch=(x86_64) +license=(MIT) +makedepends=(git go) +source=("git+https://git.ilvokhin.com/flatbot.git#tag=v${pkgver}") +sha512sums=('7fd5a57639d3dba1dc280aa4dbcc65297c826ecf2ae49e97cd84da33c84425d6b0a83865bd4fb45031107f94eabe2e0024ad64ba2ef9097589af018c2c92a416') + +build() { + cd "${pkgname}" + go build -o bin/flatbot +} + +check() { + cd "${pkgname}" + go test +} + +package() { + cd "${pkgname}" + install -D --mode=0755 bin/flatbot "${pkgdir}/usr/bin/flatbot" +} -- cgit v1.2.3-70-g09d2