Date: Friday, May 19, 2017 @ 16:51:52 Author: arojas Revision: 228557
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: snownews/repos/community-staging-i686/ snownews/repos/community-staging-i686/PKGBUILD (from rev 228556, snownews/trunk/PKGBUILD) snownews/repos/community-staging-i686/openssl-pkgconfig.patch (from rev 228556, snownews/trunk/openssl-pkgconfig.patch) snownews/repos/community-staging-x86_64/ snownews/repos/community-staging-x86_64/PKGBUILD (from rev 228556, snownews/trunk/PKGBUILD) snownews/repos/community-staging-x86_64/openssl-pkgconfig.patch (from rev 228556, snownews/trunk/openssl-pkgconfig.patch) --------------------------------------------------+ community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++ community-staging-i686/openssl-pkgconfig.patch | 19 ++++++++++++ community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++ community-staging-x86_64/openssl-pkgconfig.patch | 19 ++++++++++++ 4 files changed, 104 insertions(+) Copied: snownews/repos/community-staging-i686/PKGBUILD (from rev 228556, snownews/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-05-19 16:51:52 UTC (rev 228557) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Christoph 'delmonico' Neuroth <delmon...@gmx.net> + +pkgname=snownews +pkgver=1.5.12 +pkgrel=10 +pkgdesc="Text mode RSS newsreader for Linux and Unix." +arch=(i686 x86_64) +url="http://kiza.kcore.de/software/snownews/" +license=('GPL') +depends=('libxml2' 'ncurses' 'perl-xml-libxml' 'perl-xml-libxslt' 'openssl-1.0') +source=(http://kiza.kcore.de/software/snownews/download/$pkgname-$pkgver.tar.gz + openssl-pkgconfig.patch) +sha256sums=('26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90' + '847b4bc3139b4a1d0b49c95fe0378cd9d941f3219d8a9510cb2065555276abcc') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -Np0 -i ../openssl-pkgconfig.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make install DESTDIR="$pkgdir" + ln -fs /usr/bin/opml2snow "$pkgdir"/usr/bin/snow2opml +} Copied: snownews/repos/community-staging-i686/openssl-pkgconfig.patch (from rev 228556, snownews/trunk/openssl-pkgconfig.patch) =================================================================== --- community-staging-i686/openssl-pkgconfig.patch (rev 0) +++ community-staging-i686/openssl-pkgconfig.patch 2017-05-19 16:51:52 UTC (rev 228557) @@ -0,0 +1,19 @@ +--- configure.orig 2017-03-22 10:11:04.082473251 +0000 ++++ configure 2017-03-22 10:14:19.083251343 +0000 +@@ -10,10 +10,14 @@ + chomp($xmlcflags); + my $xmlldflags = `xml2-config --libs`; + chomp($xmlldflags); ++my $cryptocflags = `pkg-config libcrypto --cflags`; ++chomp($cryptocflags); ++my $cryptoldflags = `pkg-config libcrypto --libs`; ++chomp($cryptoldflags); + + my $prefix = "/usr/local"; +-my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $xmlcflags \$(EXTRA_CFLAGS) "; +-my $ldflags = "-lncurses -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) "; ++my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $cryptocflags $xmlcflags \$(EXTRA_CFLAGS) "; ++my $ldflags = "-lncurses $cryptoldflags $xmlldflags \$(EXTRA_LDFLAGS) "; + + my $use_nls = 1; + parse_cmdl_line(); Copied: snownews/repos/community-staging-x86_64/PKGBUILD (from rev 228556, snownews/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-05-19 16:51:52 UTC (rev 228557) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Christoph 'delmonico' Neuroth <delmon...@gmx.net> + +pkgname=snownews +pkgver=1.5.12 +pkgrel=10 +pkgdesc="Text mode RSS newsreader for Linux and Unix." +arch=(i686 x86_64) +url="http://kiza.kcore.de/software/snownews/" +license=('GPL') +depends=('libxml2' 'ncurses' 'perl-xml-libxml' 'perl-xml-libxslt' 'openssl-1.0') +source=(http://kiza.kcore.de/software/snownews/download/$pkgname-$pkgver.tar.gz + openssl-pkgconfig.patch) +sha256sums=('26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90' + '847b4bc3139b4a1d0b49c95fe0378cd9d941f3219d8a9510cb2065555276abcc') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -Np0 -i ../openssl-pkgconfig.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make install DESTDIR="$pkgdir" + ln -fs /usr/bin/opml2snow "$pkgdir"/usr/bin/snow2opml +} Copied: snownews/repos/community-staging-x86_64/openssl-pkgconfig.patch (from rev 228556, snownews/trunk/openssl-pkgconfig.patch) =================================================================== --- community-staging-x86_64/openssl-pkgconfig.patch (rev 0) +++ community-staging-x86_64/openssl-pkgconfig.patch 2017-05-19 16:51:52 UTC (rev 228557) @@ -0,0 +1,19 @@ +--- configure.orig 2017-03-22 10:11:04.082473251 +0000 ++++ configure 2017-03-22 10:14:19.083251343 +0000 +@@ -10,10 +10,14 @@ + chomp($xmlcflags); + my $xmlldflags = `xml2-config --libs`; + chomp($xmlldflags); ++my $cryptocflags = `pkg-config libcrypto --cflags`; ++chomp($cryptocflags); ++my $cryptoldflags = `pkg-config libcrypto --libs`; ++chomp($cryptoldflags); + + my $prefix = "/usr/local"; +-my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $xmlcflags \$(EXTRA_CFLAGS) "; +-my $ldflags = "-lncurses -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) "; ++my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $cryptocflags $xmlcflags \$(EXTRA_CFLAGS) "; ++my $ldflags = "-lncurses $cryptoldflags $xmlldflags \$(EXTRA_LDFLAGS) "; + + my $use_nls = 1; + parse_cmdl_line();