summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ec811ef220197dfd519f668e608bfb16391fead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=resistor
pkgver=0.1.3
pkgrel=1
pkgdesc="Resistor color code calculator written in Rust"
arch=('x86_64')
url='https://github.com/denix666/resistor'
license=('MIT')

source=('https://github.com/denix666/resistor/releases/download/v0.1.3/resistor_linux_x86_64.tar.gz'
	'resistor.png'
	'resistor.desktop')

package() {
    cd ${srcdir}
    install -D -m755 resistor ${pkgdir}/usr/bin/resistor
    install -D -m644 resistor.png ${pkgdir}/usr/share/pixmaps/resistor.png
    install -D -m644 resistor.desktop ${pkgdir}/usr/share/applications/resistor.desktop
}
sha256sums=('0f02fb6920dd7c672000ff5112eab474a2d80ca8b7dc89588b146f9552dc32b3'
            '131c599e3dbf07fae11cf1f542b3a6011c16c38b57b89833c295dc82cbea297a'
            'fcee6df8d67073bd86aabf5a590a1d587f0dadf418d7c745da8d33e73d2a53f4')