-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: chris <cbaba001@comcast.net>
- Loading branch information
1 parent
01c34a8
commit e9074f4
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# 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') | ||
|
||
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 | ||
} |