diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-30 20:10:16 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-31 11:52:02 -0300 |
commit | 7c8c4b0ba058cce4d32fc01a8cce04c2933afe05 (patch) | |
tree | c96b5c73a9562e4e87d57a2557d21d7b9838f6d9 | |
parent | ee0b84a32efd8e73198ada80db35549c44bec371 (diff) |
feedreader: add new package to [pcr] - Packaging request #1019 -> https://labs.parabola.nu/issues/1019
-rwxr-xr-x | pcr/feedreader/PKGBUILD | 37 | ||||
-rwxr-xr-x | pcr/feedreader/feedreader.install | 16 |
2 files changed, 53 insertions, 0 deletions
diff --git a/pcr/feedreader/PKGBUILD b/pcr/feedreader/PKGBUILD new file mode 100755 index 000000000..1a329d63e --- /dev/null +++ b/pcr/feedreader/PKGBUILD @@ -0,0 +1,37 @@ +# 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> + +pkgname=feedreader +pkgver=1.4.3 +pkgrel=1 +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' +license=('GPL3') +depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret') +makedepends=('vala' 'gobject-introspection' 'cmake') +provides=("${pkgname%-*}") +conflicts=("${pkgname%-*}") +install="${pkgname%-*}.install" +source=('https://launchpad.net/feedreader/'${pkgver%.*}'/'${pkgver}'/+download/FeedReader-'${pkgver}'.tar.gz') +sha256sums=('e43ceb9eb866c2e8e16d460b6914e6450b2c97fe62f0730a2ec67a3c7d7f0a3c') + + +##Build without Libunity (-DWITH_LIBUNITY=OFF) +build() { + cd "${srcdir}" + if [[ -d "${srcdir}/build" ]]; then + rm -rf "${srcdir}/build" + fi + mkdir "${srcdir}/build" && cd "${srcdir}/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_WEBKIT_4=ON -DWITH_LIBUNITY=OFF .. + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et diff --git a/pcr/feedreader/feedreader.install b/pcr/feedreader/feedreader.install new file mode 100755 index 000000000..826f632e9 --- /dev/null +++ b/pcr/feedreader/feedreader.install @@ -0,0 +1,16 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -ftq usr/share/icons/hicolor +} + +post_upgrade() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -ftq usr/share/icons/hicolor +} + +post_remove() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -ftq usr/share/icons/hicolor +} + +# vim: ts=2 sw=2 et:
\ No newline at end of file |