summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b48788097d2181cc181b3b57d6b49277f9771e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Kevin MacMartin <prurigro@gmail.com>

pkgname=xiny
pkgver=0.3.5
pkgrel=1
pkgdesc='A simple command line tool for converting between various units of measurement'
url='https://github.com/bcicen/XinY'
license=('MIT')
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
makedepends=('go' 'git')
source=("https://github.com/bcicen/xiny/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('d16244bbb2997170f6d00ade6d04940aa4518ab02ed326de39092711bc36c43df96c71a52426993c2be81a9802a3cb1516e53fdf1e09269f4b5946a579534f58')

build() {
  cd $pkgname-$pkgver
  make build
}

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