db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / maeparser / trunk / PKGBUILD
blob086dddda9c8bbabaaa6aac63ba7875e0d7fcd73b
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=maeparser
4 pkgver=1.3.1
5 pkgrel=1
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=(https://github.com/schrodinger/maeparser/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('a8d80f67d1b9be6e23b9651cb747f4a3200132e7d878a285119c86bf44568e36')
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