2022-05-24 11:49:25 +02:00
|
|
|
# vim: ft=bash
|
|
|
|
# Maintainer: Jef Roosens
|
|
|
|
# Contributor: Felix Bühler <account at buehler dot rocks>
|
2020-02-04 21:19:51 +01:00
|
|
|
|
2022-05-24 11:49:25 +02:00
|
|
|
_pkgname='news_flash_gtk'
|
|
|
|
pkgname='jjr-newsflash-git'
|
|
|
|
pkgver=1141.40ff7cf
|
2020-04-20 23:03:31 +02:00
|
|
|
pkgrel=1
|
2022-05-24 11:49:25 +02:00
|
|
|
pkgdesc='The spiritual successor to FeedReader (development version)'
|
2022-02-25 20:07:16 +01:00
|
|
|
arch=('x86_64')
|
2022-05-24 11:49:25 +02:00
|
|
|
|
|
|
|
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")
|
2020-02-04 21:19:51 +01:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${_pkgname}"
|
2022-05-24 11:49:25 +02:00
|
|
|
|
2020-02-04 21:19:51 +01:00
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
2022-01-02 11:27:32 +01:00
|
|
|
prepare() {
|
|
|
|
cd "${_pkgname}"
|
2022-05-24 11:49:25 +02:00
|
|
|
|
2022-01-02 11:27:32 +01:00
|
|
|
# Trustdns likes to bug out when not on a stable network
|
|
|
|
sed -i 's/\.trust_dns(true)/\.trust_dns(false)/' src/util/mod.rs
|
|
|
|
}
|
|
|
|
|
2020-02-04 21:19:51 +01:00
|
|
|
build() {
|
|
|
|
cd "${_pkgname}"
|
2022-05-24 11:49:25 +02:00
|
|
|
|
2020-02-04 21:19:51 +01:00
|
|
|
arch-meson _build
|
|
|
|
ninja -C _build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_pkgname}"
|
2022-05-24 11:49:25 +02:00
|
|
|
|
|
|
|
env DESTDIR="${pkgdir}" ninja -C _build install
|
2020-02-04 21:19:51 +01:00
|
|
|
}
|