2.42.9-1
[arch-packages.git] / maeparser / trunk / PKGBUILD
blob9a2a3bd67ed7d4e29dc79a8f719296caf23f5e77
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=maeparser
4 pkgver=1.2.4
5 pkgrel=6
6 pkgdesc="Maestro file parser"
7 arch=(x86_64)
8 url="https://github.com/schrodinger/maeparser"
9 license=(MIT)
10 depends=(boost-libs)
11 makedepends=(cmake boost)
12 source=($pkgname-$pkgver.tar.gz::"https://github.com/schrodinger/maeparser/archive/v$pkgver.tar.gz")
13 sha256sums=('c62d5846c85a2982cfa8895ffbed8a6ce57678d936ddfebf429546fab4b0a36d')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr
18   cmake --build build
21 package() {
22   DESTDIR="$pkgdir" cmake --install build
24   install -Dm644 $pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname