diff options
Diffstat (limited to 'pcr/feedreader/PKGBUILD')
-rw-r--r--[-rwxr-xr-x] | pcr/feedreader/PKGBUILD | 63 |
1 files changed, 39 insertions, 24 deletions
diff --git a/pcr/feedreader/PKGBUILD b/pcr/feedreader/PKGBUILD index 89e9064f0..6f15b59f8 100755..100644 --- a/pcr/feedreader/PKGBUILD +++ b/pcr/feedreader/PKGBUILD @@ -1,35 +1,50 @@ -# Maintainer (Arch): Jason Scurtu (scujas) <jscurtu@gmail.com> -# Contributor (Arch): Marcin Tydelski <marcin.tydelski@gmail.com> -# Contributor (Arch): Jan Lukas Gernert (JeanLuc) <https://launchpad.net/~eviltwin1> +# Maintainer (AUR): Andrew O'Neill <andrew at meanjollies dot com> +# Contributor (AUR): poisonby <poisonby@tutanota.com> +# Contributor (AUR): Jason Scurtu (scujas) <jscurtu@gmail.com> +# Contributor (AUR): Marcin Tydelski <marcin.tydelski@gmail.com> +# Contributor (AUR): Jan Lukas Gernert (JeanLuc) <https://launchpad.net/~eviltwin1> + +# parabola changes and rationale: +# - added install file to update icon cache pkgname=feedreader -pkgver=1.6.1 -pkgrel=2 -pkgdesc='A simple feedreader client for web services like Tiny Tiny RSS and in the future others.' -arch=('i686' 'x86_64') -url='https://launchpad.net/feedreader' +pkgver=2.0.2 +pkgrel=3 +pkgdesc="FeedReader is a modern desktop application designed to complement existing web-based RSS accounts." +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/jangernert/FeedReader" license=('GPL3') -depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret') +conflicts=("$pkgname-git") +depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret' 'libpeas' 'gnome-online-accounts' 'curl') makedepends=('vala' 'gobject-introspection' 'cmake') -provides=("${pkgname%-*}") -conflicts=("${pkgname%-*}") -install="${pkgname%-*}.install" -source=('https://github.com/jangernert/FeedReader/archive/v'${pkgver}'.tar.gz') -sha256sums=('0e3921b795c9a96e92ac575cb21746775660e27bcd8546930904b901d649356f') +install="feedreader.install" +source=("$url/archive/v$pkgver.tar.gz" + "$pkgname.patch") +sha256sums=('949262912bc07f8d1ec72dfa1bbeafb0ed1cea992589e1ee5901e0630c714261' + '6a13326630678db6f9de94adcd3e289dc7dba2e656c75967868c0a23ba6e653e') + +prepare() { + cd FeedReader-$pkgver + + patch -p1 -i ../$pkgname.patch +} build() { - cd "${srcdir}" - if [[ -d "${srcdir}/build" ]]; then - rm -rf "${srcdir}/build" - fi - mkdir "${srcdir}/build" && cd "${srcdir}/build" - cmake ../FeedReader-"${pkgver}"/ -DCMAKE_INSTALL_PREFIX=/usr + cd FeedReader-$pkgver + + mkdir build + cd build + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DGSETTINGS_COMPILE=OFF \ + -DCMAKE_INSTALL_LIBDIR=lib \ + .. make } package() { - cd "${srcdir}/build" - make DESTDIR="${pkgdir}" install -} + cd FeedReader-$pkgver/build -# vim: ts=2 sw=2 et + make DESTDIR=$pkgdir install +} |