diff options
| author | Dmitry Ilvokhin <d@ilvokhin.com> | 2025-12-19 14:26:44 +0000 |
|---|---|---|
| committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2025-12-19 14:26:44 +0000 |
| commit | da54d933611e3a66dd44b8dc313fe71598ad4ad8 (patch) | |
| tree | 379253d23b2ea671093788eeb186215dc5493bc3 | |
| download | packages-da54d933611e3a66dd44b8dc313fe71598ad4ad8.tar.gz packages-da54d933611e3a66dd44b8dc313fe71598ad4ad8.tar.bz2 packages-da54d933611e3a66dd44b8dc313fe71598ad4ad8.zip | |
Add PKGBUILD file for flatbot
| -rw-r--r-- | flatbot/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
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 <d@ilvokhin.com> + +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" +} |