summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD58
-rw-r--r--rssowlnix01.patch73
4 files changed, 156 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c1b845f9f4d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = rssowlnix
+ pkgdesc = Organize, search and read your RSS, RDF & Atom news feeds in a comfortable way
+ pkgver = 2.8.0_beta
+ pkgrel = 1
+ url = https://github.com/Xyrio/RSSOwlnix
+ arch = any
+ license = EPL
+ makedepends = java-environment=8
+ makedepends = git
+ makedepends = maven
+ depends = java-runtime>=8
+ depends = webkit2gtk
+ source = git+https://github.com/Xyrio/RSSOwlnix.git#tag=2.8.0
+ source = rssowlnix01.patch
+ md5sums = SKIP
+ md5sums = a1f7369dfebe543dcf1e2079e3925c7d
+
+pkgname = rssowlnix
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..eacf9be4899
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+patching
+pkg
+RSSOwlnix
+src
+*.xz
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ada33100be6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Frank Vanderham <twelve dot eighty at gmail dot com>
+_pkgname=RSSOwlnix
+pkgname="${_pkgname,,}"
+_pkgtag="2.8.0"
+pkgver="${_pkgtag}_beta"
+pkgrel=1
+pkgdesc="Organize, search and read your RSS, RDF & Atom news feeds in a comfortable way"
+arch=('any')
+url="https://github.com/Xyrio/RSSOwlnix"
+license=('EPL')
+depends=('java-runtime>=8' 'webkit2gtk')
+makedepends=('java-environment=8' 'git' 'maven')
+source=("git+https://github.com/Xyrio/$_pkgname.git#tag=$_pkgtag"
+ "rssowlnix01.patch")
+# noextract=()
+md5sums=("SKIP"
+ "a1f7369dfebe543dcf1e2079e3925c7d")
+
+prepare() {
+ cd "$_pkgname"
+ patch --forward --strip=1 --input="${srcdir}/rssowlnix01.patch"
+}
+
+build() {
+ mkdir -p mvnrepo
+ cd "$_pkgname"
+ # mvn clean verify -Dmaven.test.skip=true -Dmaven.repo.local=/home/admin/aur/mvn/mvnrepo
+ mvn clean verify "-Dmaven.test.skip=true" "-Dmaven.repo.local=${srcdir}/mvnrepo"
+}
+
+package() {
+ cd "$_pkgname"
+ install -d "$pkgdir/usr/lib"
+ cp -a ./releng/product/target/products/org.rssowl.ui.product/linux/gtk/x86_64/RSSOwlnix "$pkgdir/usr/lib"
+ install -D /dev/stdin "$pkgdir/usr/bin/RSSOwlnix" <<END
+#!/bin/bash
+export RSSOWLNIX_HOME=/usr/lib/RSSOwlnix
+exec \$RSSOWLNIX_HOME/RSSOwlnix "\$@"
+END
+
+ install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/RSSOwlnix.desktop" <<END
+[Desktop Entry]
+Name=RSSOwlnix
+Comment=Organize, search and read your RSS, RDF and Atom news feeds in a comfortable way
+Icon=rssowlnix
+Exec=RSSOwlnix
+Terminal=false
+Type=Application
+Categories=Network;RSS;
+StartupNotify=true
+END
+
+ for i in 16 24 32 48 64 128 256; do
+ install -Dm644 "org.rssowl.ui/icons/product/${i}x${i}.png" \
+ "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/rssowlnix.png"
+ done
+}
+
diff --git a/rssowlnix01.patch b/rssowlnix01.patch
new file mode 100644
index 00000000000..7b6cfbe66a6
--- /dev/null
+++ b/rssowlnix01.patch
@@ -0,0 +1,73 @@
+diff --unified --recursive --text package.orig/org.rssowl.feature.dependencies/feature.xml package.new/org.rssowl.feature.dependencies/feature.xml
+--- package.orig/org.rssowl.feature.dependencies/feature.xml 2020-06-22 13:49:48.809089355 -0600
++++ package.new/org.rssowl.feature.dependencies/feature.xml 2020-06-22 11:42:03.046115611 -0600
+@@ -282,7 +282,7 @@
+ fragment="true"
+ unpack="false"/>
+
+- <plugin
++ <!-- <plugin
+ id="org.eclipse.equinox.security.macosx"
+ os="macosx"
+ download-size="16"
+@@ -309,7 +309,7 @@
+ install-size="65"
+ version="0.0.0"
+ fragment="true"
+- unpack="false"/>
++ unpack="false"/> -->
+
+ <plugin
+ id="org.eclipse.equinox.ds"
+diff --unified --recursive --text package.orig/org.rssowl.feature.dependencies.updater/feature.xml package.new/org.rssowl.feature.dependencies.updater/feature.xml
+--- package.orig/org.rssowl.feature.dependencies.updater/feature.xml 2020-06-22 14:44:18.038935986 -0600
++++ package.new/org.rssowl.feature.dependencies.updater/feature.xml 2020-06-22 11:42:53.166113263 -0600
+@@ -537,7 +537,7 @@
+ fragment="true"
+ unpack="false"/>
+
+- <plugin
++ <!-- <plugin
+ id="org.eclipse.equinox.security.macosx"
+ os="macosx"
+ download-size="16"
+@@ -564,7 +564,7 @@
+ install-size="65"
+ version="0.0.0"
+ fragment="true"
+- unpack="false"/>
++ unpack="false"/> -->
+
+ <plugin
+ id="org.eclipse.equinox.p2.ui.sdk"
+diff --unified --recursive --text package.orig/releng/configuration/pom.xml package.new/releng/configuration/pom.xml
+--- package.orig/releng/configuration/pom.xml 2020-06-22 13:48:35.945759435 -0600
++++ package.new/releng/configuration/pom.xml 2020-06-22 10:31:40.489587762 -0600
+@@ -66,16 +66,19 @@
+ </artifact>
+ </target>
+ <environments>
++ <!--
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
++ -->
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
++ <!--
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+@@ -91,6 +94,7 @@
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
++ -->
+ </environments>
+ </configuration>
+ </plugin>