blob: 0b1eb2f5f0e32d245f9f183769012ca54ea5ad37 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Maintainer: Chris Baba <cbaba001@comcast.net>
# When updating versions change 'pkgver', 'pkgrel' (if needed), and 'sha256sums.
pkgname=chemcalc
pkgver=0.9.1
pkgrel=1
pkgdesc='A chemical calculator that calculates the amount of reagents to use when making solutions.'
arch=('x86_64')
url='https://github.com/Chris-Baba/ChemCalc'
license=('GPL-3.0-or-later')
depends=(
'brotli'
'bzip2'
'curl'
'dbus'
'double-conversion'
'duktape'
'e2fsprogs'
'expat'
'fontconfig'
'freetype2'
'gcc-libs'
'glib2'
'glibc'
'graphite'
'harfbuzz'
'hicolor-icon-theme'
'icu'
'keyutils'
'krb5'
'libb2'
'libcap'
'libffi'
'libglvnd'
'libidn2'
'libnghttp2'
'libnghttp3'
'libpng'
'libproxy'
'libpsl'
'libssh2'
'libunistring'
'libx11'
'libxau'
'libxcb'
'libxdmcp'
'libxkbcommon'
'openssl'
'pcre2'
'qt6-base'
'systemd-libs'
'util-linux-libs'
'zlib'
'zstd'
)
makedepends=('cmake')
## Accepted naming method example:
## source=("${pkgname}-${pkgver}.tar.gz::https://github.com/coder/program/archive/v${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Chris-Baba/ChemCalc/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('db535a1069ccaed50d6b0b965becc0357f44583ab235f7c77d7b37433b18b4c1')
options=(!debug)
build() {
cmake \
-B build \
-S ChemCalc-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
#-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|