crowsite/libs/crow/scripts/PKGBUILD

24 lines
765 B
Bash
Raw Permalink Normal View History

2023-08-25 03:48:59 -04:00
# Maintainer: The-EDev <farook@the-e-dev.com>
pkgname=crow
pkgver=master
pkgrel=1
pkgdesc="A Fast and Easy to use C++ microframework for the web."
arch=(any)
url="https://crowcpp.org"
license=('custom:BSD-3-Clause')
depends=('asio')
optdepends=('openssl: HTTPS support' 'zlib: HTTP compression support' 'cmake: Choose this if you plan on using CMake for your Crow project')
conflicts=("$pkgname-git")
changelog='changelog.md'
source=("https://github.com/CrowCpp/$pkgname/releases/download/v$pkgver/crow-v$pkgver.tar.gz")
md5sums=('SKIP')
sha256sums=('SKIP')
package() {
echo "installing to \"$pkgdir/usr/local/\""
mkdir -p "$pkgdir/usr/local/include"
mkdir -p "$pkgdir/usr/local/lib"
cp -r "include" "$pkgdir/usr/local"
cp -r "lib" "$pkgdir/usr/local"
}