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
|
pkgbase = jjr-newsflash-git
|
||||||
pkgdesc = The spiritual successor to FeedReader
|
pkgdesc = The spiritual successor to FeedReader (development version)
|
||||||
pkgver = 1070.0d9f8d9
|
pkgver = 1141.40ff7cf
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://gitlab.com/news-flash/news_flash_gtk
|
url = https://gitlab.com/news-flash/news_flash_gtk
|
||||||
arch = any
|
arch = x86_64
|
||||||
license = GPL3
|
license = GPL3
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = cargo
|
|
||||||
makedepends = meson
|
makedepends = meson
|
||||||
makedepends = rust
|
makedepends = rust
|
||||||
depends = libadwaita
|
depends = libadwaita
|
||||||
depends = libhandy
|
depends = gtk4
|
||||||
depends = webkit2gtk-5.0
|
depends = webkit2gtk-5.0
|
||||||
conflicts = newsflash
|
conflicts = newsflash
|
||||||
source = git+https://gitlab.com/news-flash/news_flash_gtk.git
|
conflicts = newsflash-git
|
||||||
sha512sums = SKIP
|
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'
|
||||||
_pkgname=news_flash_gtk
|
pkgname='jjr-newsflash-git'
|
||||||
pkgver=1070.0d9f8d9
|
pkgver=1141.40ff7cf
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="The spiritual successor to FeedReader"
|
pkgdesc='The spiritual successor to FeedReader (development version)'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://gitlab.com/news-flash/news_flash_gtk"
|
|
||||||
license=(GPL3)
|
url='https://gitlab.com/news-flash/news_flash_gtk'
|
||||||
depends=(libadwaita gtk4 webkit2gtk-5.0)
|
license=('GPL3')
|
||||||
makedepends=(git cargo meson rust sccache)
|
depends=(
|
||||||
conflicts=(newsflash)
|
'libadwaita'
|
||||||
source=("git+https://gitlab.com/news-flash/news_flash_gtk.git")
|
'gtk4'
|
||||||
sha512sums=("SKIP")
|
'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() {
|
pkgver() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
|
|
||||||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
|
|
||||||
# Trustdns likes to bug out when not on a stable network
|
# Trustdns likes to bug out when not on a stable network
|
||||||
sed -i 's/\.trust_dns(true)/\.trust_dns(false)/' src/util/mod.rs
|
sed -i 's/\.trust_dns(true)/\.trust_dns(false)/' src/util/mod.rs
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
#rm -rf _build
|
|
||||||
arch-meson _build
|
arch-meson _build
|
||||||
ninja -C _build
|
ninja -C _build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
env DESTDIR="$pkgdir" ninja -C _build install
|
|
||||||
|
env DESTDIR="${pkgdir}" ninja -C _build install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue