diff options
-rw-r--r-- | community/couchdb/PKGBUILD | 16 | ||||
-rw-r--r-- | community/espeak/PKGBUILD | 16 | ||||
-rw-r--r-- | community/gsoap/PKGBUILD | 6 | ||||
-rw-r--r-- | community/kimtoy/PKGBUILD | 5 | ||||
-rw-r--r-- | community/ngircd/PKGBUILD | 8 | ||||
-rw-r--r-- | community/nodejs/PKGBUILD | 6 | ||||
-rw-r--r-- | community/xlockmore/PKGBUILD | 6 | ||||
-rw-r--r-- | core/openldap/PKGBUILD | 16 | ||||
-rw-r--r-- | core/openldap/openldap-nssov.patch | 30 | ||||
-rw-r--r-- | core/openldap/slapd.tmpfiles | 2 | ||||
-rw-r--r-- | extra/virtuoso/PKGBUILD | 7 | ||||
-rw-r--r-- | extra/xfce4-cpufreq-plugin/PKGBUILD | 18 | ||||
-rw-r--r-- | pcr/ruby1/PKGBUILD | 84 | ||||
-rw-r--r-- | pcr/ruby1/gemrc | 5 | ||||
-rw-r--r-- | pcr/ruby1/ruby.install | 22 | ||||
-rw-r--r-- | pcr/youtube-dl-current/PKGBUILD | 6 |
16 files changed, 167 insertions, 86 deletions
diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD index 9ea90c437..678ee9894 100644 --- a/community/couchdb/PKGBUILD +++ b/community/couchdb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 93137 2013-06-25 15:46:03Z spupykin $ +# $Id: PKGBUILD 96754 2013-09-04 10:16:32Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua # Contributor: Michael Fellinger <m.fellinger@gmail.com> pkgname=couchdb -pkgver=1.4.0pre +pkgver=1.4.0 pkgrel=1 pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" arch=('i686' 'x86_64') @@ -17,17 +17,17 @@ options=('!libtool') backup=('etc/couchdb/local.ini' 'etc/conf.d/couchdb' 'etc/logrotate.d/couchdb') -#source=("http://www.sai.msu.su/apache/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc} -source=("git://github.com/apache/couchdb.git#commit=8d7ab8b18dd20f8785e69f4420c6f93a2edbfa60" +#source=("git://github.com/apache/couchdb.git#commit=8d7ab8b18dd20f8785e69f4420c6f93a2edbfa60" +source=("http://www.eu.apache.org/dist/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc} "couchdb.service" "couchdb.tmpfiles") -md5sums=('SKIP' +md5sums=('9d2ecad195f2991098a542a0904ec0a5' + 'SKIP' '8914a7ffc6745f94106d96206709acb4' '1e254ebe32eeb061be64193bafa35dbf') build() { - cd "$srcdir/couchdb" - ./bootstrap + cd "$srcdir/apache-couchdb-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var @@ -35,7 +35,7 @@ build() { } package() { - cd "$srcdir/couchdb" + cd "$srcdir/apache-couchdb-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb diff --git a/community/espeak/PKGBUILD b/community/espeak/PKGBUILD index c322cfaee..23df11aaf 100644 --- a/community/espeak/PKGBUILD +++ b/community/espeak/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 75640 2012-08-27 22:14:26Z arodseth $ +# $Id: PKGBUILD 96764 2013-09-04 12:01:02Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Christoph Siegenthaler <csi@gmx.ch> pkgname=espeak -pkgver=1.46.02 -pkgrel=2 -pkgdesc="Text to Speech engine for good quality English, with support for other languages" +pkgver=1.47.11 +pkgrel=1 +pkgdesc='Text to Speech engine for English, with support for other languages' arch=('x86_64' 'i686') url='http://espeak.sourceforge.net/' license=('GPL') depends=('portaudio' 'libpulse') options=('!emptydirs') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip") -sha256sums=('ef8beba25bd261718582d5cbb1f10293007eb525b705ff79c9fb3f505dd954ba') +sha256sums=('9bd4d0569af48a2cb13fa76704dec3124d27025a3f21c87598457976472b360c') build() { - cd "$srcdir/$pkgname-$pkgver-source/src" + cd "$pkgname-$pkgver-source/src" cp portaudio19.h portaudio.h make CXXFLAGS="$CXXFLAGS" AUDIO=runtime } package() { - cd "$srcdir/$pkgname-$pkgver-source/src" + cd "$pkgname-$pkgver-source/src" - make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir" install chmod 644 "$pkgdir/usr/lib/libespeak.a" } diff --git a/community/gsoap/PKGBUILD b/community/gsoap/PKGBUILD index a0452fa3a..f917b599c 100644 --- a/community/gsoap/PKGBUILD +++ b/community/gsoap/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 93225 2013-06-28 19:02:51Z spupykin $ +# $Id: PKGBUILD 96756 2013-09-04 10:16:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Tor Krill <tor@krill.nu> # Contributor: Lee.MaRS <leemars@gmail.com> pkgname=gsoap -pkgver=2.8.15 +pkgver=2.8.16 pkgrel=1 pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++" url="http://www.cs.fsu.edu/~engelen/soap.html" @@ -14,7 +14,7 @@ depends=('openssl' 'zlib' 'gcc-libs') makedepends=('autoconf' 'automake') source=(http://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip LICENSE) -md5sums=('abd244644446ae08d3aa36ece9113ad4' +md5sums=('274d16bea12b111681bcac2283c4c24a' '27aaa3f5166db94d44044c11a7b2c37b') build() { diff --git a/community/kimtoy/PKGBUILD b/community/kimtoy/PKGBUILD index f278a3d5f..b284029a7 100644 --- a/community/kimtoy/PKGBUILD +++ b/community/kimtoy/PKGBUILD @@ -1,15 +1,16 @@ +# $Id: PKGBUILD 96752 2013-09-04 08:32:32Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: CSSlayer <wengxt@gmail.com> pkgname=kimtoy pkgver=1.9.2 pkgdesc="Standalone input method panel" -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) url="http://kde-apps.org/content/show.php/KIMToy?content=140967" license=(GPL) makedepends=(cmake automoc4 fcitx scim dbus-c++) #ibus) ibus support not working due to upstream ABI change -depends=(kdebase-workspace) +depends=(kdelibs) optdepends=('fcitx: fcitx support' 'scim: scim support' 'dbus-c++: scim support') diff --git a/community/ngircd/PKGBUILD b/community/ngircd/PKGBUILD index be8677c53..e43750133 100644 --- a/community/ngircd/PKGBUILD +++ b/community/ngircd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92045 2013-05-31 00:26:55Z seblu $ +# $Id: PKGBUILD 96762 2013-09-04 10:49:37Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Alexander Rødseth <rodseth@gmail.com> pkgname=ngircd -pkgver=20.2 -pkgrel=2 +pkgver=20.3 +pkgrel=1 pkgdesc="Next Generation IRC Daemon" arch=('x86_64' 'i686') backup=(etc/ngircd.conf) @@ -14,7 +14,7 @@ license=('GPL') depends=('openssl' 'libident') source=("http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz" ngircd.service) -sha256sums=('306c0ef0d2ceac0836a84ecf871a6bc4dd16c25683aa87c0f172b6e68b93357d' +sha256sums=('55d7c74c6df790b11a68c07f39836d581965087efb618d3e9a6bec855364c2f9' 'f02e30f6864ba1130bcc85bedc44ad782687f572c06f10e0501b0ddcf532b404') build() { diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 2c6637099..c17656108 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 96268 2013-08-23 06:19:32Z bpiotrowski $ +# $Id: PKGBUILD 96776 2013-09-04 21:38:52Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -8,7 +8,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.10.17 +pkgver=0.10.18 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -19,7 +19,7 @@ makedepends=('python2') checkdepends=('curl') options=('!emptydirs') source=(http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz) -sha256sums=('1f9de40dd2d98bc984a4970ef399ed3ad67f040feaafc711e549f3265bcce61c') +sha256sums=('3ee4436473869d4d84bb5cad4352b09ace00656467eca7d6db7cd7da5b8c5495') prepare() { cd node-v$pkgver diff --git a/community/xlockmore/PKGBUILD b/community/xlockmore/PKGBUILD index dfbdd8fa0..c501bafcb 100644 --- a/community/xlockmore/PKGBUILD +++ b/community/xlockmore/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 88423 2013-04-17 12:42:33Z spupykin $ +# $Id: PKGBUILD 96760 2013-09-04 10:17:31Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: dorphell <dorphell@archlinux.org> pkgname=xlockmore -pkgver=5.42 +pkgver=5.43 pkgrel=1 pkgdesc="screen saver / locker for the X Window System" arch=(i686 x86_64) @@ -15,7 +15,7 @@ url="http://www.tux.org/~bagleyd/xlockmore.html" options=('!makeflags') source=(http://www.tux.org/~bagleyd/xlock/xlockmore-$pkgver/xlockmore-$pkgver.tar.bz2 LICENSE) -md5sums=('de1dc31f686178703659fbb46d638518' +md5sums=('76af9c0a698aec1e32770a1183df72eb' 'a64afab4283f53972a6702c2e59850d7') build() { diff --git a/core/openldap/PKGBUILD b/core/openldap/PKGBUILD index 838c91cbf..59ec01116 100644 --- a/core/openldap/PKGBUILD +++ b/core/openldap/PKGBUILD @@ -1,27 +1,25 @@ -# $Id: PKGBUILD 186436 2013-05-26 15:20:21Z eric $ +# $Id: PKGBUILD 193901 2013-09-04 19:28:51Z eric $ # Maintainer: pkgbase=openldap pkgname=('libldap' 'openldap') -pkgver=2.4.35 -pkgrel=4 +pkgver=2.4.36 +pkgrel=1 arch=('i686' 'x86_64') url="http://www.openldap.org/" license=('custom') makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath') options=('!makeflags') source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz - slapd.service slapd.tmpfiles openldap-ntlm.patch openldap-nssov.patch) -sha1sums=('db02243150b050baac6a8ea4145ad73a1f6d2266' + slapd.service slapd.tmpfiles openldap-ntlm.patch) +sha1sums=('da0e18a28a5dade5c98d9a382fd8f0a676a12aca' '2441815efbfa01ad7a1d39068e5503b53d1d04b0' - 'f86a82e35ebe15026980467c9dee4007e686b795' - 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef' - 'b2d11b4c522750ad9da3409333094fb599ac2c85') + '59241a813d7508294e4ef1cec3bfe1f5495e109d' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') prepare() { cd ${pkgbase}-${pkgver} patch -p1 -i "${srcdir}"/openldap-ntlm.patch - patch -p0 -i "${srcdir}"/openldap-nssov.patch sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} diff --git a/core/openldap/openldap-nssov.patch b/core/openldap/openldap-nssov.patch deleted file mode 100644 index 5ec2c36f3..000000000 --- a/core/openldap/openldap-nssov.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- contrib/slapd-modules/nssov/nss-pam-ldapd/nslcd.h 2013-03-28 11:41:51.000000000 -0400 -+++ contrib/slapd-modules/nssov/nss-pam-ldapd/nslcd.h 2012-07-08 04:34:12.000000000 -0400 -@@ -71,6 +71,16 @@ - 1.0 release of nss-pam-ldapd is made. */ - #define NSLCD_VERSION 1 - -+/* Get a NSLCD configuration option. There is one request parameter: -+ INT32 NSLCD_CONFIG_* -+ the result value is: -+ STRING value, interpretation depending on request */ -+#define NSLCD_ACTION_CONFIG_GET 20006 -+ -+/* return the message, if any, that is presented to the user when password -+ modification through PAM is prohibited */ -+#define NSLCD_CONFIG_PAM_PASSWORD_PROHIBIT_MESSAGE 852 -+ - /* Email alias (/etc/aliases) NSS requests. The result values for a - single entry are: - STRING alias name -@@ -249,8 +262,10 @@ - #define NSLCD_PAM_NEW_AUTHTOK_REQD 12 /* Password expired */ - #define NSLCD_PAM_ACCT_EXPIRED 13 /* Account expired */ - #define NSLCD_PAM_SESSION_ERR 14 /* Cannot make/remove session record */ -+#define NSLCD_PAM_AUTHTOK_ERR 20 /* Authentication token manipulation error */ - #define NSLCD_PAM_AUTHTOK_DISABLE_AGING 23 /* Password aging disabled */ - #define NSLCD_PAM_IGNORE 25 /* Ignore module */ - #define NSLCD_PAM_ABORT 26 /* Fatal error */ -+#define NSLCD_PAM_AUTHTOK_EXPIRED 27 /* authentication token has expired */ - - #endif /* not _NSLCD_H */ diff --git a/core/openldap/slapd.tmpfiles b/core/openldap/slapd.tmpfiles index 5f63bd636..b22c83135 100644 --- a/core/openldap/slapd.tmpfiles +++ b/core/openldap/slapd.tmpfiles @@ -1 +1 @@ -D /run/openldap 0750 ldap ldap - +D /run/openldap 0755 ldap ldap - diff --git a/extra/virtuoso/PKGBUILD b/extra/virtuoso/PKGBUILD index 5568e46ff..08624efdc 100644 --- a/extra/virtuoso/PKGBUILD +++ b/extra/virtuoso/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 191593 2013-07-26 10:24:04Z andrea $ +# $Id: PKGBUILD 193903 2013-09-04 19:31:12Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service> pkgbase=virtuoso pkgname=('virtuoso' 'virtuoso-base') -pkgver=6.1.7 +epoch=1 +pkgver=6.1.6 pkgrel=1 arch=('i686' 'x86_64') url='http://virtuoso.openlinksw.com/wiki/main/Main/' @@ -12,7 +13,7 @@ license=('GPL') makedepends=('libldap' 'bison' 'flex' 'gperf' 'net-tools' 'libxml2' 'optipng') options=('!libtool') source=("http://downloads.sourceforge.net/${pkgbase}/${pkgbase}-opensource-${pkgver}.tar.gz") -md5sums=('88885e84e8f7b61e59516f696b1d3be5') +md5sums=('3991149c570f3738c3e819ce603e487f') prepare() { cd ${pkgbase}-opensource-${pkgver} diff --git a/extra/xfce4-cpufreq-plugin/PKGBUILD b/extra/xfce4-cpufreq-plugin/PKGBUILD index f237d1675..5e4f483e0 100644 --- a/extra/xfce4-cpufreq-plugin/PKGBUILD +++ b/extra/xfce4-cpufreq-plugin/PKGBUILD @@ -1,24 +1,24 @@ -# $Id: PKGBUILD 157843 2012-04-30 04:20:08Z foutrelis $ +# $Id: PKGBUILD 193891 2013-09-04 01:10:34Z eric $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: tobias <tobias funnychar archlinux.org> pkgname=xfce4-cpufreq-plugin -pkgver=1.0.0 -pkgrel=3 +pkgver=1.1.0 +pkgrel=1 pkgdesc="CPU frequency plugin for the Xfce4 panel" arch=('i686' 'x86_64') license=('GPL2') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin" groups=('xfce4-goodies') -depends=('xfce4-panel>=4.7.4' 'libxfcegui4' 'hicolor-icon-theme') +depends=('xfce4-panel') makedepends=('intltool') options=('!libtool') install=${pkgname}.install -source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2) -md5sums=('24cae9b8583cae82b715b4f72aa8e341') +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('dcc56af0e19266956c297d124ba551f4') build() { - cd ${srcdir}/xfce4-cpufreq-plugin-${pkgver} + cd xfce4-cpufreq-plugin-${pkgver} ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ @@ -29,6 +29,6 @@ build() { } package() { - cd ${srcdir}/xfce4-cpufreq-plugin-${pkgver} - make DESTDIR=${pkgdir} install + cd xfce4-cpufreq-plugin-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/pcr/ruby1/PKGBUILD b/pcr/ruby1/PKGBUILD new file mode 100644 index 000000000..c20b8720a --- /dev/null +++ b/pcr/ruby1/PKGBUILD @@ -0,0 +1,84 @@ +# Maintainer: Thomas Dziedzic <gostrc@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Contributor: Jeramy Rutley <jrutley@gmail.com> + +_pkgname=ruby +pkgname=("${_pkgname}1" "${_pkgname}1-docs") +pkgver=1.9.3_p448 +pkgrel=1 +arch=('i686' 'x86_64' 'mips64el') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +makedepends=('gdbm' 'openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml') +options=('!emptydirs' '!makeflags' '!staticlibs') +source=("ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2" + 'gemrc') +md5sums=('aa710d386e5903f78f0231868255e6af' + '6fb8e7a09955e0f64be3158fb4a27e7a') + +build() { + cd ruby-${pkgver//_/-} + + msg 'use gdbm because db v6 changed the license to AGPL' + sed -i 's|db db2 db1 db5 db4 db3|| + \|db[1-5]/n\{0,1\}dbm\{0,1\}[.]h|d + \|traditional ndbm [(]4[.]3BSD[)]|d + ' ext/dbm/extconf.rb + + msg 'fixing gemrc to gem1rc' + sed -i 's|gemrc|gem1rc|g + ' doc/rubygems/{ChangeLog,History.txt} \ + lib/rubygems{,/command,/commands/environment_command,/config_file}.rb \ + test/rubygems/test_gem_{config_file,gem_runner,remote_fetcher}.rb + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-shared \ + --disable-rpath \ + --program-suffix=1 + + make +} + +check() { + cd ruby-${pkgver//_/-} + + make test +} + +package_ruby1() { + pkgdesc='An object-oriented language for quick and easy programming (1.9 ver.)' + depends=('gdbm' 'openssl' 'libffi' 'libyaml') + optdepends=('tk: for Ruby/TK' + 'ruby-docs: Ruby documentation') + backup=('etc/gem1rc') + install='ruby.install' + + cd ruby-${pkgver//_/-} + + make DESTDIR="${pkgdir}" install-nodoc + + install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gem1rc" + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby1/LICENSE" + install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby1/BSDL" + + msg 'remove useless files' + rm -v "${pkgdir}/usr/lib/libruby.so" +} + +package_ruby1-docs() { + pkgdesc='Documentation files for ruby (1.9 ver.)' + + cd ruby-${pkgver//_/-} + + make DESTDIR="${pkgdir}" install-doc install-capi + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby1-docs/LICENSE" + install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby1-docs/BSDL" + + msg 'fixing doc path' + mv -v ${pkgdir}/usr/share/doc/ruby{,1} +} diff --git a/pcr/ruby1/gemrc b/pcr/ruby1/gemrc new file mode 100644 index 000000000..3d11de1ec --- /dev/null +++ b/pcr/ruby1/gemrc @@ -0,0 +1,5 @@ +# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11 + +# --user-install is used to install to $HOME/.gem/ by default since we want to separate +# pacman installed gems and gem installed gems +gem: --user-install diff --git a/pcr/ruby1/ruby.install b/pcr/ruby1/ruby.install new file mode 100644 index 000000000..ce78e96ec --- /dev/null +++ b/pcr/ruby1/ruby.install @@ -0,0 +1,22 @@ +#!/bin/sh + +print_gem_default_target() { + echo 'The default location of gem installs is $HOME/.gem/ruby' + echo 'Add the following line to your PATH if you plan to install using gem' + echo '$(ruby -rubygems -e "puts Gem.user_dir")/bin' + echo 'If you want to install to the system wide location, you must either:' + echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' +} + +# arg 1: the new package version +post_install() { + print_gem_default_target +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 1.9.3_p125-4)" -lt 0 ]; then + print_gem_default_target + fi +} diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index dfaba34cc..1aab4522e 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -5,7 +5,7 @@ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.08.30 +pkgver=2013.09.04 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') @@ -14,8 +14,6 @@ license=('custom') depends=('python') makedepends=('python-distribute') source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig}) -md5sums=('f9e5574fe3b645892a7d814797b8a607' - 'SKIP') prepare() { cd ${_pkgname} @@ -29,3 +27,5 @@ package() { "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } +md5sums=('252f503736cef7049d3a1ed20a2ffc5f' + 'SKIP') |