blob: 4d6157068dd37451d0821e7b96825e2c7fcf68ae (
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=cabin
pkgver=0.11.1
pkgrel=1
pkgdesc="A package manager and build system for C++"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://poac.dev"
license=('Apache-2.0')
depends=('python-cpplint' 'libgit2' 'nlohmann-json' 'onetbb' 'clang') # clang is required due to clang-format runtime dependency
makedepends=('git' 'make' 'curl' 'pkg-config' 'fmt')
conflicts=('cabin-git')
source=("$pkgname"-"$pkgver".tar.gz::https://github.com/cabinpkg/${pkgname}/archive/"$pkgver".tar.gz)
sha256sums=('3c9bd2898e6fe692eb988dc71f22214ff938255ef2282d5d7d9c6bdf149d173f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make 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"
}
|