summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 706dcbadde0a466e45a60c72e295b6a2c4253f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Rayr https://rayr.ml/LinkInBio/

pkgname=currencyconverter
pkgver=1.0.2
pkgrel=1
pkgdesc="A CLI program that converts currencies using currency exchange rates"
arch=('x86_64')
url="https://github.com/Rayrsn/currencyConverter"
license=('GPL')
makedepends=('go')
source=("https://github.com/Rayrsn/currencyConverter/archive/refs/tags/$pkgver.zip")
md5sums=('f07335385cde0228ca6b215a3f3c0922')
build() {
    cd "currencyConverter-$pkgver"
    go build
}

package() {
	cd "currencyConverter-$pkgver"
	install -Dm755 "currencyConverter" "$pkgdir/usr/bin/currencyConverter"
    install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}