summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d0ebfd55624513d3b8736986df2ca9960ad69bf (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
# Maintainer: Abdur Rehman Imran <arehmanimran4@gmail.com>
pkgname=rconv
pkgver=1.0.4
pkgrel=1
pkgdesc="A Command Line Unit Converter written in Rust."
arch=('any')
url="https://github.com/abdurehman4/rconv"
license=('GPL')
makedepends=('rust' 'cargo')
provides=('rconv')
conflicts=('rconv')
source=(git+"https://github.com/abdurehman4/rconv.git#commit=1a1e2f0e4b0adc067c06842bef1626f8762139b5")
md5sums=('SKIP')

build() {
	cd "$pkgname"
    make
}


package() {
    mkdir "$pkgdir/usr"
    mkdir "$pkgdir/usr/bin/"
	install -D "$pkgname/build/bin/rconv" "$pkgdir/usr/bin/"
    install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}