Crow/scripts/PKGBUILD

26 lines
926 B
Bash
Raw Normal View History

# Maintainer: The-EDev <farook@the-e-dev.com>
pkgname=crow
pkgver=1.5+3
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=('boost>=1.64.0')
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/archive/refs/tags/v$pkgver.tar.gz")
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/include/\""
# pkgghver=$(echo $pkgver | sed 's/+/-/')
mkdir -p "$pkgdir/usr/local/include"
mkdir -p "$pkgdir/usr/local/lib"
cp -r "Crow-$pkgver/include" "$pkgdir/usr/local"
cp -r "Crow-$pkgver/lib" "$pkgdir/usr/local"
}