PKGBUILD 1.05 KB
Newer Older
1 2
# Maintainer: Meade And Emily <thedarkula2049@gmail.com>
pkgname=brewstillery
3
pkgver=3.0.0
4 5 6 7 8 9 10 11
pkgrel=1
pkgdesc="BrewStillery is a brewer's, vintner's, and distiller's calculator. It has a multitude of great functions, such as calculating ABV, determining carbonation, and total sparge water needed."
url="https://monkeylog.in"
arch=('i686' 'x86_64')
license=('AGPL3')
makedepends=('git' 'cargo')
provides=('brewstillery')
conflicts=('brewstillery')
12
source=("https://github.com/MonkeyLog/BrewStillery/archive/$pkgver.tar.gz")
13 14 15
md5sums=('SKIP')

build() {
16
	cd $srcdir/BrewStillery-$pkgver
17 18 19 20
	cargo build --release
}

package() {
21 22 23
	cd $srcdir/BrewStillery-$pkgver/target/release
	install -Dm755 BrewStillery "$pkgdir/usr/bin/BrewStillery"
	cd $srcdir/BrewStillery-$pkgver/Arch
24
	install -Dm755 BrewStillery.desktop "$pkgdir/usr/share/applications/BrewStillery.desktop"
25
	cd $srcdir/BrewStillery-$pkgver/media
26 27
	install -Dm755 BrewStilleryIcon.svg "$pkgdir/usr/share/BrewStillery/BrewStilleryIcon.svg"
	install -Dm755 BrewStilleryLogo.svg "$pkgdir/usr/share/BrewStillery/BrewStilleryLogo.svg"
28
}