blob: 6a5f5af0a2e0b62d9fe756bc051d89889fc38fc7 (
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
33
34
|
# Maintainer: Michael Hansen <zrax0111 gmail com>
pkgname=string-theory
_ghname=string_theory
pkgdesc='Flexible UTF-8 string library and type-safe formatter for C++'
pkgver=2.2
pkgrel=1
arch=('i686' 'x86_64')
url='https://github.com/zrax/string_theory'
license=('MIT')
makedepends=('cmake')
source=("${_ghname}-${pkgver}.tar.gz::https://github.com/zrax/${_ghname}/archive/${pkgver}.tar.gz")
sha256sums=('cbd95beb3e664993193a39f67c7d56f3c781aea7a7bc22328ae496cac4ef9135')
build() {
mkdir -p "${srcdir}/build"
cd "${srcdir}/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"${srcdir}/${_ghname}-${pkgver}"
make
}
check() {
cd "${srcdir}/build"
make test
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|