Synced upstream & added ci config
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jef Roosens 2021-12-31 15:31:06 +01:00
parent 3e423be5fb
commit b59eb01d37
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 23 additions and 3 deletions

20
.woodpecker.yml 100644
View File

@ -0,0 +1,20 @@
pipeline:
build:
image: 'archlinux:latest'
commands:
# Update packages
- pacman -Syu --needed --noconfirm base-devel
# Create non-root user to perform build & switch to their home
- groupadd -g 1000 builder
- useradd -mg builder builder
- chown -R builder:builder "$PWD"
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder
# Build the package
- makepkg -s --noconfirm --needed
publish:
image: 'archlinux:latest'
commands:
# Publish the package
- 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'

View File

@ -1,7 +1,7 @@
# Maintainer: Konstantinos Sideris <siderisk at auth dot gr> # Maintainer: Konstantinos Sideris <siderisk at auth dot gr>
# Maintainer: Joseph Donofry <joe at joedonofry dot com> # Maintainer: Joseph Donofry <joe at joedonofry dot com>
pkgname=nheko-git pkgname=jjr-nheko
pkgver=0.9.1.r7.gbccab87a pkgver=0.9.1.r7.gbccab87a
pkgrel=1 pkgrel=1
pkgdesc="Desktop client for the Matrix protocol" pkgdesc="Desktop client for the Matrix protocol"
@ -10,11 +10,11 @@ arch=("i686" "x86_64" "aarch64")
url="https://github.com/Nheko-Reborn/nheko" url="https://github.com/Nheko-Reborn/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "gst-plugin-qmlgl" "libnice" "libolm" "spdlog" "curl" "libevent") depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "gst-plugin-qmlgl" "libnice" "libolm" "spdlog" "curl" "libevent" "qt5-imageformats" "qt-jdenticon")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json")
optdepends=("qt-jdenticon") optdepends=("qt-jdenticon")
provides=("nheko") provides=("nheko")
conflicts=("nheko") conflicts=("nheko" "nheko-git")
source=($pkgname::git+https://github.com/Nheko-Reborn/nheko.git#branch=master) source=($pkgname::git+https://github.com/Nheko-Reborn/nheko.git#branch=master)
md5sums=("SKIP") md5sums=("SKIP")