db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / coordgen / repos / extra-x86_64 / PKGBUILD
blob821c25f42ed09a67440fc0710ab2d3b2e03ee880
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=coordgen
4 pkgver=3.0.2
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=('f67697434f7fec03bca150a6d84ea0e8409f6ec49d5aab43badc5833098ff4e3')
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