initial commit

main
Felix Buehler 2020-02-04 21:19:51 +01:00
commit 7576d77b18
3 changed files with 50 additions and 0 deletions

15
.SRCINFO 100644
View File

@ -0,0 +1,15 @@
pkgbase = newsflash-git
pkgdesc = The spiritual successor to FeedReader
pkgver = 402.510b8c6
pkgrel = 1
url = https://gitlab.com/news-flash/news_flash_gtk
arch = any
license = GPL3
makedepends = rust
makedepends = cargo
makedepends = meson
source = git+https://gitlab.com/news-flash/news_flash_gtk.git
sha512sums = SKIP
pkgname = newsflash-git

4
.gitignore vendored 100644
View File

@ -0,0 +1,4 @@
PKGBUILD
.SRCINFO
.gitignore
*

31
PKGBUILD 100644
View File

@ -0,0 +1,31 @@
# Maintainer: Felix Bühler <account at buehler dot rocks>
pkgname=newsflash-git
_pkgname=news_flash_gtk
pkgver=402.510b8c6
pkgrel=1
pkgdesc="The spiritual successor to FeedReader"
arch=(any)
url="https://gitlab.com/news-flash/news_flash_gtk"
license=(GPL3)
depends=()
makedepends=(rust cargo meson)
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)
}
build() {
cd "${_pkgname}"
rm -rf _build
arch-meson _build
ninja -C _build
}
package() {
cd "${_pkgname}"
env DESTDIR="$pkgdir" ninja -C _build install
}