summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7788e8091c7e5822c264117cce90e41b5d51a00e (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: Sateallia <mail at sateallia dot org>

pkgname=resistormaid
pkgver=2.0.1
pkgrel=2
pkgdesc="CLI resistor calculator"
arch=('x86_64')
url='https://sateallia.org/software/'
license=('MIT')

source=('https://sateallia.org/code/resistormaid/resistormaid_2_0_0.tar.gz'
	'https://sateallia.org/code/resistormaid/resistormaid_2_0_1.patch')

prepare() {
    patch < resistormaid_2_0_1.patch
}

build() {
	make
}

package() {
    install -D -m755 resistormaid ${pkgdir}/usr/bin/resistormaid
    install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
md5sums=('4296e292d9c723da5b316386e301be3e'
         '9482b16ce012e24f2b24a4e1d10775c5')