blob: ca98b513abc9125885087fe42e0a9fd3f1775b0f (
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
|
# Maintainer: thynkon <thynkon at protonmail dot com>
pkgname=poac
pkgver=0.10.1
pkgrel=1
pkgdesc="Package manager for C++ like Cargo for Rust"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://poac.dev"
license=('Apache-2.0')
depends=('git' 'tar' 'python-cpplint' 'clang' 'libgit2' 'nlohmann-json' 'onetbb' 'fmt')
makedepends=('make' 'curl' 'pkg-config')
conflicts=('poac-devel-git' 'poac-git')
source=("$pkgname"-"$pkgver".tar.gz::https://github.com/poac-dev/poac/archive/"$pkgver".tar.gz)
sha256sums=('4be4f9d80ee1b4b2dd489bc335d59b50d945ad2bff9458eba66b230247f5c8a6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make CXX=/usr/bin/clang++ PREFIX=/usr RELEASE=1 all
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" PREFIX=/usr install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|