OCaml 4.14.0 rebuild
[arch-packages.git] / coordgen / trunk / PKGBUILD
blob82e5312d0b20be5115cd9725dc7054c70f13acd3
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=coordgen
4 pkgver=3.0.0
5 pkgrel=1
6 pkgdesc='Schrodinger-developed 2D Coordinate Generation'
7 arch=(x86_64)
8 url='https://github.com/schrodinger/coordgenlibs'
9 license=(BSD)
10 depends=(maeparser)
11 makedepends=(cmake boost)
12 source=(https://github.com/schrodinger/coordgenlibs/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('1efabb1bb98cb7dbaa90339f90783fa6109853db3c63932b07ca394f948068d9')
15 build() {
16   cmake -B build -S coordgenlibs-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DCOORDGEN_USE_MAEPARSER=ON
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
25   install -Dm644 coordgenlibs-$pkgver/templates.mae -t "$pkgdir"/usr/share/coordgen
26   install -Dm644 coordgenlibs-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname