Skip to content
Snippets Groups Projects
Verified Commit 61cdc3f7 authored by Dan Johansen's avatar Dan Johansen
Browse files

initial commit, version 0.1.0


Signed-off-by: default avatarDan Johansen <strit@manjaro.org>
parents
No related branches found
No related tags found
No related merge requests found
Pipeline #4545 passed
### Generic CI Template for chrootbuild
#
#
# Usage: chrootbuild [options]
#
# -b <branch> Branch to use:
# (unstable/testing/stable-staging/stable;
# arm-unstable/arm-testing/arm-stable)
# default: unstable / arm-unstable
# -c Start with clean chroot fs
# -h This help
# -i <pkg> Install package(s) to chroot fs
# (for multiple packages repeat -i flag)
# -l <list> List(s) to build
# (for multiple lists repeat -l flag)
# -n Install built pkg to chroot fs
# -p <pkg> Package(s) to build
# (for multiple packages repeat -p flag)
# -r Remove previously built packages in $PKGDEST
# -s Sign package(s)
package:
tags:
- aarch64
script:
# build pkg via chrootbuild
- export PKG=${PWD##*/}
- cd ..
- sudo chrootbuild -cp $PKG
- mv -v ./*.pkg.tar.* $PKG
artifacts:
paths:
- ./*.pkg.tar.*
expire_in: 1 week
PKGBUILD 0 → 100644
# Maintainer: Dan Johansen <strit@manjaro.org>
# Contributor: Hannah Kiekens <hannahkiekens@gmail.com>
pkgname=qcoro
pkgver=0.1.0
pkgrel=1
pkgdesc='C++ Coroutine library for Qt'
arch=(x86_64 armv6h armv7h aarch64)
url="https://qcoro.dvratil.cz/"
license=(MIT)
depends=('qt5-base')
makedepends=('cmake')
source=("https://github.com/danvratil/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('18c3f710f012238c40de858cfe6b4ac5')
build() {
cd "${pkgname}-${pkgver}"
cmake . \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment