summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 121af1dc2c69a464d343e44be26e099bf7760627 (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
32
# Maintainer: SuicideCatt <fr7g31@gmail.com>

pkgname=sct_argsp
pkgver=0.1.0
pkgrel=1
pkgdesc="C++ Arguments parser"
url="https://github.com/SuicideCatt/ArgsP"

arch=(any)
depends=(gcc)
makedepends=(git cmake make)

source=("git+https://github.com/SuicideCatt/ArgsP.git")
sha256sums=('SKIP')

prepare()
{
	cd ArgsP
	mkdir -p build
}

build()
{
	cd ArgsP/build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
}

package()
{
	cd ArgsP/build
	make DESTDIR="${pkgdir}" install
}