summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele Musco2019-08-03 11:38:16 +0200
committerGabriele Musco2019-08-03 11:38:16 +0200
commitb28033a99ea1de9bf02136f3db19fede8b0bb2be (patch)
tree12a70615b1b121fc12670ee89ee44626de5733a3
downloadaur-b28033a99ea1de9bf02136f3db19fede8b0bb2be.tar.gz
first release
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD36
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..60cacceb2ef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = gnome-feeds-git
+ pkgdesc = News reader for GNOME
+ pkgver = 0.2.2.r23.g11737b1
+ pkgrel = 1
+ url = https://gitlab.com/gabmus/gnome-feeds
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = meson
+ depends = gtk3
+ depends = python
+ depends = python-pillow
+ depends = libhandy
+ depends = python-listparser
+ depends = python-feedparser
+ depends = python-requests
+ depends = python-lxml
+ depends = webkit2gtk
+ depends = python-html5lib
+ depends = python-gobject
+ depends = gobject-introspection
+ provides = gnome-feeds
+ conflicts = gnome-feeds
+ source = gfeeds::git+https://gitlab.com/gabmus/gnome-feeds
+ sha256sums = SKIP
+
+pkgname = gnome-feeds-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..16ad37e9d9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
+# Upstream URL: https://gitlab.com/gabmus/gnome-feeds
+
+pkgname=gnome-feeds-git
+pkgver=0.2.2.r23.g11737b1
+pkgrel=1
+pkgdesc='News reader for GNOME'
+arch=('any')
+url='https://gitlab.com/gabmus/gnome-feeds'
+license=('GPL3')
+depends=('gtk3' 'python' 'python-pillow' 'libhandy' 'python-listparser' 'python-feedparser' 'python-requests' 'python-lxml' 'webkit2gtk' 'python-html5lib' 'python-gobject' 'gobject-introspection')
+makedepends=('git' 'meson')
+provides=('gnome-feeds')
+conflicts=('gnome-feeds')
+source=("gfeeds::git+https://gitlab.com/gabmus/gnome-feeds")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/gfeeds"
+ git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/gfeeds"
+ rm -rf build
+ mkdir build
+ cd build
+ meson --prefix /usr --buildtype release ..
+ ninja
+}
+
+package() {
+ cd "$srcdir/gfeeds"
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}