summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Buehler2020-02-04 21:19:51 +0100
committerFelix Buehler2020-02-04 21:19:51 +0100
commit7576d77b18097654acdea42f9ba04ae85497cc8f (patch)
tree97a5181dea5f5cf5409c91b196ea507cd9314f9a
downloadaur-7576d77b18097654acdea42f9ba04ae85497cc8f.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08c23998d46
--- /dev/null
+++ b/.SRCINFO
@@ -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
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a2717966354
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+PKGBUILD
+.SRCINFO
+.gitignore
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f5d69fd84e4
--- /dev/null
+++ b/PKGBUILD
@@ -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
+}