Compare commits

..

No commits in common. "main" and "e94767222fa48f20a14a9f24727d1853f306f4d5" have entirely different histories.

4 changed files with 29 additions and 85 deletions

View File

@ -1,19 +1,19 @@
pkgbase = jjr-newsflash-git
pkgdesc = The spiritual successor to FeedReader (development version)
pkgver = 1141.40ff7cf
pkgbase = newsflash-git
pkgdesc = The spiritual successor to FeedReader
pkgver = 684.fea372a
pkgrel = 1
url = https://gitlab.com/news-flash/news_flash_gtk
arch = x86_64
arch = any
license = GPL3
makedepends = git
makedepends = cargo
makedepends = meson
makedepends = rust
depends = libadwaita
depends = gtk4
depends = webkit2gtk-5.0
depends = libhandy
depends = webkit2gtk
conflicts = newsflash
conflicts = newsflash-git
source = news_flash_gtk::git+https://gitlab.com/news-flash/news_flash_gtk.git
md5sums = SKIP
source = git+https://gitlab.com/news-flash/news_flash_gtk.git
sha512sums = SKIP
pkgname = newsflash-git
pkgname = jjr-newsflash-git

7
.gitignore vendored
View File

@ -1,5 +1,4 @@
PKGBUILD
.SRCINFO
.gitignore
*
!.gitignore
!PKGBUILD
!.SRCINFO

View File

@ -1,34 +0,0 @@
platform: linux/amd64
pipeline:
build:
image: 'archlinux:latest'
pull: true
environment:
- SCCACHE_BUCKET=bur
- SCCACHE_ENDPOINT=s3.rustybever.be
- SCCACHE_S3_USE_SSL=true
- SCCACHE_S3_KEY_PREFIX=jjr-newsflash
- RUSTC_WRAPPER=/usr/bin/sccache
secrets:
- aws_access_key_id
- aws_secret_access_key
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
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
publish:
image: 'archlinux:latest'
commands:
# Publish the package
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/publish'
secrets:
- api_key

View File

@ -1,53 +1,32 @@
# vim: ft=bash
# Maintainer: Jef Roosens
# Contributor: Felix Bühler <account at buehler dot rocks>
# Maintainer: Felix Bühler <account at buehler dot rocks>
_pkgname='news_flash_gtk'
pkgname='jjr-newsflash-git'
pkgver=1141.40ff7cf
pkgname=newsflash-git
_pkgname=news_flash_gtk
pkgver=684.fea372a
pkgrel=1
pkgdesc='The spiritual successor to FeedReader (development version)'
arch=('x86_64')
url='https://gitlab.com/news-flash/news_flash_gtk'
license=('GPL3')
depends=(
'libadwaita'
'gtk4'
'webkit2gtk-5.0'
)
makedepends=(
'git'
'meson'
'rust'
)
conflicts=('newsflash' 'newsflash-git')
source=("${_pkgname}::git+https://gitlab.com/news-flash/news_flash_gtk.git")
md5sums=("SKIP")
pkgdesc="The spiritual successor to FeedReader"
arch=(any)
url="https://gitlab.com/news-flash/news_flash_gtk"
license=(GPL3)
depends=(libhandy webkit2gtk)
makedepends=(git cargo meson rust)
conflicts=(newsflash)
source=("git+https://gitlab.com/news-flash/news_flash_gtk.git")
sha512sums=("SKIP")
pkgver() {
cd "${_pkgname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
cd "${_pkgname}"
# Trustdns likes to bug out when not on a stable network
sed -i 's/\.trust_dns(true)/\.trust_dns(false)/' src/util/mod.rs
}
build() {
cd "${_pkgname}"
#rm -rf _build
arch-meson _build
ninja -C _build
}
package() {
cd "${_pkgname}"
env DESTDIR="${pkgdir}" ninja -C _build install
env DESTDIR="$pkgdir" ninja -C _build install
}