blob: d45c0557f145597dfd0ea6e9cf567f0c402d2f55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Dmitry Valter <dvalter@protonmail.com>
pkgname=argagg
pkgver=0.4.7
pkgrel=2
pkgdesc='Simple C++ command line argument/option parser'
arch=('any')
url='https://github.com/vietjtnguyen/argagg'
license=('MIT')
makedepends=('cmake' 'doxygen')
provides=('argagg')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('85634bff33236ffcb0aea03a6fa4b3529b6d1faa03f8e030f3c5401fc453bb5e1964f7d0644e4f3fc089ccd7751ea94c466e02b85f7c9701ce21adcc20c0b058')
build() {
mkdir -p "$pkgname-$pkgver/build"
cd "$pkgname-$pkgver/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS='-O0'
make
}
package() {
cd "$pkgname-$pkgver/build"
make DESTDIR="${pkgdir}" install
}
|