diff options
author | Pouyan Heyratpour | 2023-07-02 01:37:40 +0330 |
---|---|---|
committer | Pouyan Heyratpour | 2023-07-02 01:37:40 +0330 |
commit | b52a43735c309df72049cb4b6784ccf0882f5e33 (patch) | |
tree | 72a2ddb8c3b54145f1e34d5b5cd1f803e3251514 | |
parent | dccb239ab89a882b8e975ebcfff1481e2f19be07 (diff) | |
download | aur-b52a43735c309df72049cb4b6784ccf0882f5e33.tar.gz |
buildable
Signed-off-by: Pouyan Heyratpour <pouyan@janstun.com>
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -1,21 +1,26 @@ # Maintainer: Pouyan Heyratpour <pouyan@janstun.com> pkgname=polywatch -_pkgname=polywatch -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 -pkgdesc="File change watcher" +pkgdesc="File change watcher with filter & rate limit feature which run command(s) when file change events happen" arch=('any') url="https://pouyanh.github.io/polywatch/" license=('GPL3') -depends=('go') +depends=() +makedepends=('go') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pouyanh/polywatch/archive/v${pkgver}.tar.gz) -md5sums=('4482bc06dfad33ee98d04691a6863d04') +md5sums=('90bc6e427ff6f1914163de1024123290') -package() { - cd "${_pkgname}-${pkgver}" +build() { + cd "${pkgname}-${pkgver}" go mod tidy go build ./cmd/polywatch - install -Dm 755 polywatch -t "${pkgdir}/usr/bin/${_pkgname}" +} + +package() { + cd "${pkgname}-${pkgver}" + + install -Dm 755 polywatch -t "${pkgdir}/usr/bin" }
\ No newline at end of file |