Package Details: curlcpp 3.1-1

Git Clone URL: https://aur.archlinux.org/curlcpp.git (read-only, click to copy)
Package Base: curlcpp
Description: An object oriented C++ wrapper for CURL
Upstream URL: https://github.com/JosephP91/curlcpp
Licenses: MIT
Submitter: otreblan
Maintainer: otreblan
Last Packager: otreblan
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-09 03:37 (UTC)
Last Updated: 2024-03-27 22:35 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

perigoso commented on 2023-04-04 10:13 (UTC)

Updated PKGBUILD

# Maintainer: Otreblan <otreblain@gmail.com>
# Contributor: Rafael Silva (perigoso) <perigoso@riseup.net>

pkgname=curlcpp
pkgver=3.0
pkgrel=1
pkgdesc="An object oriented C++ wrapper for CURL"
arch=('x86_64')
url="https://github.com/JosephP91/curlcpp"
license=('MIT')
depends=('curl')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/JosephP91/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')

prepare() {
    cd "${pkgname}-${pkgver}"
}

build() {
    cmake -B build -S "$pkgname-$pkgver" \
        -DCMAKE_BUILD_TYPE='None' \
        -DCMAKE_INSTALL_PREFIX='/usr' \
        -DBUILD_SHARED_LIBS='SHARED' \
        -Wno-dev
    cmake --build build
}

package() {
    DESTDIR="${pkgdir}" cmake --install build
    install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}