Cleaned up PKGBUILD
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
c5b182e308
commit
25eb4c6166
18
.SRCINFO
18
.SRCINFO
|
@ -1,19 +1,19 @@
|
|||
pkgbase = newsflash-git
|
||||
pkgdesc = The spiritual successor to FeedReader
|
||||
pkgver = 1070.0d9f8d9
|
||||
pkgbase = jjr-newsflash-git
|
||||
pkgdesc = The spiritual successor to FeedReader (development version)
|
||||
pkgver = 1141.40ff7cf
|
||||
pkgrel = 1
|
||||
url = https://gitlab.com/news-flash/news_flash_gtk
|
||||
arch = any
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
makedepends = git
|
||||
makedepends = cargo
|
||||
makedepends = meson
|
||||
makedepends = rust
|
||||
depends = libadwaita
|
||||
depends = libhandy
|
||||
depends = gtk4
|
||||
depends = webkit2gtk-5.0
|
||||
conflicts = newsflash
|
||||
source = git+https://gitlab.com/news-flash/news_flash_gtk.git
|
||||
sha512sums = SKIP
|
||||
conflicts = newsflash-git
|
||||
source = news_flash_gtk::git+https://gitlab.com/news-flash/news_flash_gtk.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = newsflash-git
|
||||
pkgname = jjr-newsflash-git
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
PKGBUILD
|
||||
.SRCINFO
|
||||
.gitignore
|
||||
*
|
||||
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
|
|
43
PKGBUILD
43
PKGBUILD
|
@ -1,38 +1,53 @@
|
|||
# Maintainer: Felix Bühler <account at buehler dot rocks>
|
||||
# vim: ft=bash
|
||||
# Maintainer: Jef Roosens
|
||||
# Contributor: Felix Bühler <account at buehler dot rocks>
|
||||
|
||||
pkgname=jjr-newsflash
|
||||
_pkgname=news_flash_gtk
|
||||
pkgver=1070.0d9f8d9
|
||||
_pkgname='news_flash_gtk'
|
||||
pkgname='jjr-newsflash-git'
|
||||
pkgver=1141.40ff7cf
|
||||
pkgrel=1
|
||||
pkgdesc="The spiritual successor to FeedReader"
|
||||
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 cargo meson rust sccache)
|
||||
conflicts=(newsflash)
|
||||
source=("git+https://gitlab.com/news-flash/news_flash_gtk.git")
|
||||
sha512sums=("SKIP")
|
||||
|
||||
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")
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue