summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-07-13 17:17:31 -0600
committerBrian Bidulock2015-07-13 17:17:31 -0600
commit3a9821ee676f00d75844f6a1a3f4bb0354378faf (patch)
tree352f8fcb6708a85986b34678f710d70022b74bf0
downloadaur-3a9821ee676f00d75844f6a1a3f4bb0354378faf.tar.gz
initial version
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD51
-rwxr-xr-xyarssr.desktop11
3 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3172148dbe2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = yarssr
+ pkgdesc = Yet Another RSS Reader for GNOME notification area.
+ pkgver = 0.2.2
+ pkgrel = 6
+ url = http://yarssr.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = perl
+ depends = gtk2-perl
+ depends = glade-perl
+ depends = perl-gtk2-trayicon
+ depends = gnome-vfs
+ depends = perl-xml-rss
+ depends = gnome-perl
+ depends = perl-locale-gettext
+ conflicts = yarssr-svn
+ source = http://downloads.sourceforge.net/yarssr/yarssr-0.2.2.tar.gz
+ source = yarssr.desktop
+ md5sums = 1825b214043c8d37fc8bad6935f0137a
+ md5sums = ee7f312f9ecdcf13f8f1da0a7ce79d5c
+
+pkgname = yarssr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac8fbf78289
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com>
+
+pkgname=yarssr
+pkgver=0.2.2
+pkgrel=6
+pkgdesc="Yet Another RSS Reader for GNOME notification area."
+arch=('i686' 'x86_64')
+url="http://yarssr.sourceforge.net/"
+license=('GPL')
+depends=('gtk2-perl' 'glade-perl' 'perl-gtk2-trayicon' 'gnome-vfs' \
+ 'perl-xml-rss' 'gnome-perl' 'perl-locale-gettext')
+makedepends=('perl')
+conflicts=('yarssr-svn')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz \
+ ${pkgname}.desktop)
+md5sums=('1825b214043c8d37fc8bad6935f0137a' \
+ 'ee7f312f9ecdcf13f8f1da0a7ce79d5c')
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ mkdir -p ${pkgdir}/usr/build
+
+ perl -ne 's!\@PREFIX\@!/usr!g ; s!\@LIBDIR\@!/usr/lib/yarssr!g ; print' < src/yarssr > ${pkgdir}/usr/build/yarssr
+
+ mkdir -p ${pkgdir}/usr/build/locale/en/LC_MESSAGES
+ msgfmt -o ${pkgdir}/usr/build/locale/en/LC_MESSAGES/yarssr.mo src/po/en.po
+
+ mkdir -p ${pkgdir}/usr/bin \
+ ${pkgdir}/usr/share \
+ ${pkgdir}/usr/lib/${pkgname} \
+ ${pkgdir}/usr/share/locale/en/LC_MESSAGES \
+ ${pkgdir}/usr/share/applications
+
+ echo "Copying lib files to ${pkgdir}/usr/lib"
+ cp -Rp ${srcdir}/${pkgname}-${pkgver}/lib/* \
+ ${pkgdir}/usr/lib/${pkgname}/
+ echo "Copying share files to ${pkgdir}/usr/share"
+ cp -Rp ${srcdir}/${pkgname}-${pkgver}/share/* \
+ ${pkgdir}/usr/share/
+
+ find ${pkgdir}/usr/share -type f -exec chmod 644 "{}" \;
+ find ${pkgdir}/usr/lib/${pkgname} -type f -exec chmod 644 "{}" \;
+
+ install -m 0644 ${pkgdir}/usr/build/locale/en/LC_MESSAGES/yarssr.mo \
+ ${pkgdir}/usr/share/locale/en/LC_MESSAGES/
+ install -m 0755 ${pkgdir}/usr/build/${pkgname} \
+ ${pkgdir}/usr/bin
+ install -m 0644 ${srcdir}/${pkgname}.desktop \
+ ${pkgdir}/usr/share/applications
+ rm -rf ${pkgdir}/usr/build
+}
diff --git a/yarssr.desktop b/yarssr.desktop
new file mode 100755
index 00000000000..e2b2f06a99c
--- /dev/null
+++ b/yarssr.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Yarssr
+Comment=Yet Another RSS Reader
+Categories=GNOME;Application;Network;
+Type=Application
+StartupNotify=true
+Exec=/usr/bin/yarssr
+Icon=/usr/share/yarssr/pixmaps/paper_grey.xpm
+X-GNOME-Autostart-enabled=true