summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef7841939fc9a8a2d34febe9d30dc41dfeb6d61d (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
28
# Maintainer: Clara <claracarrasquelfiorini@gmail.com>
pkgname=dcon-git
pkgver=0.1.2
pkgrel=1
pkgdesc="A program that converts decimal degrees to dms"
arch=(x86_64)
url="https://github.com/ClaraCF/dcon"
license=('MIT')
depends=()
makedepends=(cargo gcc)
provides=(dcon)
conflicts=(dcon-bin)
source=("git+$url")
md5sums=('SKIP')


build() {
	cd dcon

  cargo build --release --target-dir target
  strip --strip-all target/release/dcon
}


package() {
	cd dcon
  install -Dm755 target/release/dcon "${pkgdir}/usr/bin/dcon"
}