summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1db0d793ad3dc2b60b90f7aae2c26ff32612a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Landon Porter <landonp95@gmail.com>

_pkgname=humidify
pkgname="${_pkgname}-git"
pkgver=2024.08.29
pkgrel=1
pkgdesc="Rain in your terminal"
url="https://github.com/mazylol/humidify"
arch=('x86_64' 'i686')
license=('GPL-3.0-only')
makedepends=('git' 'go')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')
options=('!strip')

build() {
    cd "$srcdir/${_pkgname}"
    go build -ldflags="-s -w" -o "${_pkgname}"
}

package() {
    cd "$srcdir/${_pkgname}"
    install -Dm755 "${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
}