summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98e5ad5d4ab681010beee65deebbaf4e4779a899 (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
# shellcheck disable=SC2034,SC2154,SC2164
# Maintainer: Energetix/Dark Nebula <https://github.com/Jobanny-Friki>

pkgname=pathie-cpp
pkgver=0.1.3
pkgrel=1
pkgdesc="Cross-platform pathname/filename manipulation library (kroketio fork, dependency of marian-lite)"
arch=('x86_64')
url="https://github.com/kroketio/pathie-cpp"
license=('BSD')
makedepends=('cmake')
source=("https://github.com/kroketio/pathie-cpp/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
    cd "${srcdir}/pathie-cpp-${pkgver}"
    mkdir -p build && cd build
    cmake .. \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
    cd "${srcdir}/pathie-cpp-${pkgver}/build"
    make DESTDIR="${pkgdir}" install
}