[arch-commits] Commit in minitube/trunk (PKGBUILD minitube.install)

2016-01-28 Thread speps
Date: Friday, January 29, 2016 @ 01:18:29
  Author: speps
Revision: 159395

upgpkg: minitube 2.5.2-1

Modified:
  minitube/trunk/PKGBUILD
  minitube/trunk/minitube.install

--+
 PKGBUILD |   11 ++-
 minitube.install |1 +
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-28 23:37:33 UTC (rev 159394)
+++ PKGBUILD2016-01-29 00:18:29 UTC (rev 159395)
@@ -3,22 +3,23 @@
 # Contributor: Andrea Scarpino 
 
 pkgname=minitube
-pkgver=2.4
-pkgrel=2
+pkgver=2.5.2
+pkgrel=1
 pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash 
Player"
 arch=('i686' 'x86_64')
 url='http://flavio.tordini.org/minitube'
 license=('GPL3')
-depends=('phonon-qt4')
+depends=('phonon-qt5' 'qt5-script' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('qt5-tools')
 install="$pkgname.install"
 backup=('etc/profile.d/minitube.sh')
 source=("https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz; 
$pkgname.sh)
-md5sums=('90e8f7c8adfe633553e08d98edd77961'
+md5sums=('9545f0e9bf70bcb648b25af4813338cb'
  '01d1d532dd7f4670cf7f33f007863b7a')
 
 build() {
   cd $pkgname-$pkgver
-  qmake-qt4
+  qmake
 }
 
 package() {

Modified: minitube.install
===
--- minitube.install2016-01-28 23:37:33 UTC (rev 159394)
+++ minitube.install2016-01-29 00:18:29 UTC (rev 159395)
@@ -1,5 +1,6 @@
 post_install() {
   xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
 }
 
 post_upgrade() {


[arch-commits] Commit in minitube/repos (12 files)

2016-01-28 Thread speps
Date: Friday, January 29, 2016 @ 01:18:49
  Author: speps
Revision: 159396

archrelease: copy trunk to community-i686, community-x86_64

Added:
  minitube/repos/community-i686/PKGBUILD
(from rev 159395, minitube/trunk/PKGBUILD)
  minitube/repos/community-i686/minitube.install
(from rev 159395, minitube/trunk/minitube.install)
  minitube/repos/community-i686/minitube.sh
(from rev 159395, minitube/trunk/minitube.sh)
  minitube/repos/community-x86_64/PKGBUILD
(from rev 159395, minitube/trunk/PKGBUILD)
  minitube/repos/community-x86_64/minitube.install
(from rev 159395, minitube/trunk/minitube.install)
  minitube/repos/community-x86_64/minitube.sh
(from rev 159395, minitube/trunk/minitube.sh)
Deleted:
  minitube/repos/community-i686/PKGBUILD
  minitube/repos/community-i686/minitube.install
  minitube/repos/community-i686/minitube.sh
  minitube/repos/community-x86_64/PKGBUILD
  minitube/repos/community-x86_64/minitube.install
  minitube/repos/community-x86_64/minitube.sh

---+
 /PKGBUILD |   64 
 /minitube.install |   38 +
 /minitube.sh  |   18 ++
 community-i686/PKGBUILD   |   31 -
 community-i686/minitube.install   |   18 --
 community-i686/minitube.sh|9 -
 community-x86_64/PKGBUILD |   31 -
 community-x86_64/minitube.install |   18 --
 community-x86_64/minitube.sh  |9 -
 9 files changed, 120 insertions(+), 116 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-01-29 00:18:29 UTC (rev 159395)
+++ community-i686/PKGBUILD 2016-01-29 00:18:49 UTC (rev 159396)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer : speps 
-# Contributor: Andrea Scarpino 
-
-pkgname=minitube
-pkgver=2.4
-pkgrel=2
-pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash 
Player"
-arch=('i686' 'x86_64')
-url='http://flavio.tordini.org/minitube'
-license=('GPL3')
-depends=('phonon-qt4')
-install="$pkgname.install"
-backup=('etc/profile.d/minitube.sh')
-source=("https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz; 
$pkgname.sh)
-md5sums=('90e8f7c8adfe633553e08d98edd77961'
- '01d1d532dd7f4670cf7f33f007863b7a')
-
-build() {
-  cd $pkgname-$pkgver
-  qmake-qt4
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make install INSTALL_ROOT="$pkgdir/"
-
-  # GOOGLE_API_KEY
-  install -Dm644 ../$pkgname.sh \
-"$pkgdir/etc/profile.d/$pkgname.sh"
-}

Copied: minitube/repos/community-i686/PKGBUILD (from rev 159395, 
minitube/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-29 00:18:49 UTC (rev 159396)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer : speps 
+# Contributor: Andrea Scarpino 
+
+pkgname=minitube
+pkgver=2.5.2
+pkgrel=1
+pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash 
Player"
+arch=('i686' 'x86_64')
+url='http://flavio.tordini.org/minitube'
+license=('GPL3')
+depends=('phonon-qt5' 'qt5-script' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('qt5-tools')
+install="$pkgname.install"
+backup=('etc/profile.d/minitube.sh')
+source=("https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz; 
$pkgname.sh)
+md5sums=('9545f0e9bf70bcb648b25af4813338cb'
+ '01d1d532dd7f4670cf7f33f007863b7a')
+
+build() {
+  cd $pkgname-$pkgver
+  qmake
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install INSTALL_ROOT="$pkgdir/"
+
+  # GOOGLE_API_KEY
+  install -Dm644 ../$pkgname.sh \
+"$pkgdir/etc/profile.d/$pkgname.sh"
+}

Deleted: community-i686/minitube.install
===
--- community-i686/minitube.install 2016-01-29 00:18:29 UTC (rev 159395)
+++ community-i686/minitube.install 2016-01-29 00:18:49 UTC (rev 159396)
@@ -1,18 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  post_install
-  cat << EOF
-
-  # Google is now requiring an API key in order to access YouTube Data web 
services.
-  # Create a "Browser Key" at https://console.developers.google.com and put it 
in
-  # /etc/profile.d/minitube.sh as the GOOGLE_API_KEY environmental variable.
-
-EOF
-}
-
-post_remove() {
-  post_install
-}

Copied: minitube/repos/community-i686/minitube.install (from rev 159395, 
minitube/trunk/minitube.install)
===
--- community-i686/minitube.install (rev 0)
+++ community-i686/minitube.install 2016-01-29 00:18:49 UTC (rev 159396)
@@ -0,0 +1,19 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null

[arch-commits] Commit in awesome/repos (4 files)

2016-01-28 Thread Levente Polyak
Date: Thursday, January 28, 2016 @ 14:24:06
  Author: anthraxx
Revision: 159318

archrelease: copy trunk to community-i686, community-x86_64

Added:
  awesome/repos/community-i686/PKGBUILD
(from rev 159317, awesome/trunk/PKGBUILD)
  awesome/repos/community-x86_64/PKGBUILD
(from rev 159317, awesome/trunk/PKGBUILD)
Deleted:
  awesome/repos/community-i686/PKGBUILD
  awesome/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   98 
 community-i686/PKGBUILD   |   48 -
 community-x86_64/PKGBUILD |   48 -
 3 files changed, 98 insertions(+), 96 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-01-28 13:23:58 UTC (rev 159317)
+++ community-i686/PKGBUILD 2016-01-28 13:24:06 UTC (rev 159318)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-# Maintainer: Andrea Scarpino 
-# Contributor: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Ronald van Haren 
-# Contributor: Vesa Kaihlavirta
-
-pkgname=awesome
-pkgver=3.5.6
-pkgrel=2
-pkgdesc='Highly configurable framework window manager'
-arch=('i686' 'x86_64')
-url='http://awesome.naquadah.org/'
-license=('GPL2')
-depends=('cairo' 'dbus' 'gdk-pixbuf2' 'imlib2' 'libxdg-basedir' 'lua' 'lua-lgi'
- 'pango' 'startup-notification' 'xcb-util-cursor' 'xcb-util-keysyms'
- 'xcb-util-wm' 'xorg-xmessage')
-makedepends=('asciidoc' 'cmake' 'docbook-xsl' 'doxygen' 'imagemagick' 'ldoc' 
'xmlto')
-optdepends=('rlwrap: readline support for awesome-client'
-'dex: autostart your desktop files'
-'vicious: widgets for the Awesome window manager')
-provides=('notification-daemon')
-backup=('etc/xdg/awesome/rc.lua')
-source=($url/download/$pkgname-$pkgver.tar.xz)
-md5sums=('db1c31de752ab8e5f7aaa338718202af')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
--DCMAKE_BUILD_TYPE=RELEASE \
--DCMAKE_INSTALL_PREFIX=/usr \
--DSYSCONFDIR=/etc \
--DLUA_LIBRARY=/usr/lib/liblua.so.5.3
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/awesome.desktop \
-"$pkgdir/usr/share/xsessions/awesome.desktop"
-}

Copied: awesome/repos/community-i686/PKGBUILD (from rev 159317, 
awesome/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-28 13:24:06 UTC (rev 159318)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Andrea Scarpino 
+# Contributor: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Ronald van Haren 
+# Contributor: Vesa Kaihlavirta
+
+pkgname=awesome
+pkgver=3.5.7
+pkgrel=1
+pkgdesc='Highly configurable framework window manager'
+url='http://awesome.naquadah.org/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('cairo' 'dbus' 'gdk-pixbuf2' 'imlib2' 'libxdg-basedir' 'lua' 'lua-lgi'
+ 'pango' 'startup-notification' 'xcb-util-cursor' 'xcb-util-keysyms'
+ 'xcb-util-wm' 'xorg-xmessage')
+makedepends=('asciidoc' 'cmake' 'docbook-xsl' 'doxygen' 'imagemagick' 'ldoc' 
'xmlto')
+optdepends=('rlwrap: readline support for awesome-client'
+'dex: autostart your desktop files'
+'vicious: widgets for the Awesome window manager')
+provides=('notification-daemon')
+backup=('etc/xdg/awesome/rc.lua')
+source=(${pkgname}-${pkgver}.tar.xz::http://awesome.naquadah.org/download/awesome-${pkgver}.tar.xz)
+sha512sums=('0b57efa6ba55e28fee56bec96dbf3c47249b2d70b21e1a7760d4367a0ba42d9936c1c6b78afa4aa3050a60cf34189551ea53b208ec8ec9f6563a905463550515')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  mkdir -p build
+}
+
+build() {
+  cd ${pkgname}-${pkgver}/build
+  cmake .. \
+-DCMAKE_BUILD_TYPE=RELEASE \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DSYSCONFDIR=/etc \
+-DLUA_LIBRARY=/usr/lib/liblua.so.5.3
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 644 awesome.desktop 
"${pkgdir}/usr/share/xsessions/awesome.desktop"
+  make -C build DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2016-01-28 13:23:58 UTC (rev 159317)
+++ community-x86_64/PKGBUILD   2016-01-28 13:24:06 UTC (rev 159318)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-# Maintainer: Andrea Scarpino 
-# Contributor: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Ronald van Haren 
-# Contributor: Vesa Kaihlavirta
-
-pkgname=awesome

[arch-commits] Commit in tlsh/repos/community-x86_64 (5 files)

2016-01-28 Thread Levente Polyak
Date: Thursday, January 28, 2016 @ 14:02:15
  Author: anthraxx
Revision: 159316

archrelease: copy trunk to community-x86_64

Added:
  tlsh/repos/community-x86_64/PKGBUILD
(from rev 159315, tlsh/trunk/PKGBUILD)
  tlsh/repos/community-x86_64/dont-use-rpath.patch
(from rev 159315, tlsh/trunk/dont-use-rpath.patch)
  tlsh/repos/community-x86_64/install-libraries.patch
(from rev 159315, tlsh/trunk/install-libraries.patch)
Deleted:
  tlsh/repos/community-x86_64/PKGBUILD
  tlsh/repos/community-x86_64/fix-python3.patch

-+
 PKGBUILD|  151 --
 dont-use-rpath.patch|   46 ++
 fix-python3.patch   |   35 --
 install-libraries.patch |   23 +++
 4 files changed, 149 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-01-28 13:02:10 UTC (rev 159315)
+++ PKGBUILD2016-01-28 13:02:15 UTC (rev 159316)
@@ -1,71 +0,0 @@
-# Maintainer: Levente Polyak 
-
-pkgbase=tlsh
-pkgname=('tlsh' 'python-tlsh' 'python2-tlsh')
-pkgver=3.4.4
-pkgrel=1
-pkgdesc='Fuzzy matching library that generates a hash value which can be used 
for similarity comparisons'
-url='https://github.com/trendmicro/tlsh'
-arch=('i686' 'x86_64')
-license=('Apache')
-makedepends=('cmake' 'python' 'python2' 'gcc-libs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/trendmicro/${pkgname}/archive/v${pkgver}.tar.gz
-fix-python3.patch)
-sha512sums=('c4897cf70cfef555638b14e2a77e550fd52dc3c23ca7dd98077d37478d944282b93c0019593c6e13a40df298a439fbdf20d0aa893aa1a78de0ea7b39ef76b572'
-
'aeafea636656fc974d0486acd37d210ffab14cd868c0e621170b5abc45ba68702826cea39cec41e2c8fe286b6ac0b85b3499c92e065abda21ce215a4c0a69bc4')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  patch -p1 < "${srcdir}/fix-python3.patch"
-  cp -ra py_ext{,-py2}
-  cp Testing/python_test.sh Testing/python2_test.sh
-  sed 's|py_ext|py_ext-py2|g' -i Testing/python2_test.sh
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  mkdir -p build
-  (cd build
-cmake ..
-make
-  )
-  (cd py_ext
-python setup.py build
-  )
-  (cd py_ext-py2
-python2 setup.py build
-  )
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  (cd build
-make test
-  )
-  Testing/python_test.sh
-  Testing/python2_test.sh python2
-}
-
-package_tlsh() {
-  depends=('gcc-libs')
-
-  cd ${pkgbase}-${pkgver}
-  install -Dm 755 bin/tlsh_unittest "${pkgdir}/usr/bin/tlsh_unittest"
-  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-}
-
-package_python-tlsh() {
-  depends=('python')
-
-  cd ${pkgbase}-${pkgver}/py_ext
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-}
-
-package_python2-tlsh() {
-  depends=('python2')
-
-  cd ${pkgbase}-${pkgver}/py_ext-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: tlsh/repos/community-x86_64/PKGBUILD (from rev 159315, 
tlsh/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-01-28 13:02:15 UTC (rev 159316)
@@ -0,0 +1,80 @@
+# Maintainer: Levente Polyak 
+
+pkgbase=tlsh
+pkgname=('tlsh' 'python-tlsh' 'python2-tlsh')
+pkgver=3.4.5
+pkgrel=1
+pkgdesc='Fuzzy matching library that generates a hash value which can be used 
for similarity comparisons'
+url='https://github.com/trendmicro/tlsh'
+arch=('i686' 'x86_64')
+arch=('x86_64')
+license=('Apache')
+makedepends=('cmake' 'python' 'python2' 'gcc-libs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/trendmicro/${pkgname}/archive/v${pkgver}.tar.gz
+dont-use-rpath.patch
+install-libraries.patch)
+sha512sums=('039f9fb9fb467a9b22f85a621c46069bac1745da039657840e1ff1a53901392fcf29d3c953b0f47d831d022a5e2594925c726d4ff921614418a3bb023a4ebbdc'
+
'6b7d32c24151c6513918875011339990bdf4638a4f03c166b5144efe10a4bb5bf1da0401951f78a75f7e197c81a03b4ae540e22cd3ce9f2f2c99f0436780d510'
+
'448dc550df26c756b8fef7b774d193336d63f7fa2f01683308ddfd042edbe60677adad23c95e27b3d98ce7d6c734110cf218335bbc8bd0ce57dccf3eaa63a065')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  patch -p1 < "${srcdir}/install-libraries.patch"
+  patch -p1 < "${srcdir}/dont-use-rpath.patch"
+  cp -ra py_ext{,-py2}
+  cp Testing/python_test.sh Testing/python2_test.sh
+  sed 's|py_ext|py_ext-py2|g' -i Testing/python2_test.sh
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  mkdir -p build
+  (cd build
+cmake .. \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib
+make
+  )
+  (cd bin
+cmake -E create_symlink tlsh_unittest tlsh
+  )
+  (cd py_ext
+python setup.py build
+  )
+  (cd py_ext-py2
+python2 setup.py build
+  )
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  (cd build
+make test
+  )
+  Testing/python_test.sh
+  

[arch-commits] Commit in tlsh/trunk (4 files)

2016-01-28 Thread Levente Polyak
Date: Thursday, January 28, 2016 @ 14:02:10
  Author: anthraxx
Revision: 159315

upgpkg: tlsh 3.4.5-1

Added:
  tlsh/trunk/dont-use-rpath.patch
  tlsh/trunk/install-libraries.patch
Modified:
  tlsh/trunk/PKGBUILD
Deleted:
  tlsh/trunk/fix-python3.patch

-+
 PKGBUILD|   27 ++-
 dont-use-rpath.patch|   46 ++
 fix-python3.patch   |   35 ---
 install-libraries.patch |   23 +++
 4 files changed, 87 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-28 08:24:50 UTC (rev 159314)
+++ PKGBUILD2016-01-28 13:02:10 UTC (rev 159315)
@@ -2,21 +2,25 @@
 
 pkgbase=tlsh
 pkgname=('tlsh' 'python-tlsh' 'python2-tlsh')
-pkgver=3.4.4
+pkgver=3.4.5
 pkgrel=1
 pkgdesc='Fuzzy matching library that generates a hash value which can be used 
for similarity comparisons'
 url='https://github.com/trendmicro/tlsh'
 arch=('i686' 'x86_64')
+arch=('x86_64')
 license=('Apache')
 makedepends=('cmake' 'python' 'python2' 'gcc-libs')
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/trendmicro/${pkgname}/archive/v${pkgver}.tar.gz
-fix-python3.patch)
-sha512sums=('c4897cf70cfef555638b14e2a77e550fd52dc3c23ca7dd98077d37478d944282b93c0019593c6e13a40df298a439fbdf20d0aa893aa1a78de0ea7b39ef76b572'
-
'aeafea636656fc974d0486acd37d210ffab14cd868c0e621170b5abc45ba68702826cea39cec41e2c8fe286b6ac0b85b3499c92e065abda21ce215a4c0a69bc4')
+dont-use-rpath.patch
+install-libraries.patch)
+sha512sums=('039f9fb9fb467a9b22f85a621c46069bac1745da039657840e1ff1a53901392fcf29d3c953b0f47d831d022a5e2594925c726d4ff921614418a3bb023a4ebbdc'
+
'6b7d32c24151c6513918875011339990bdf4638a4f03c166b5144efe10a4bb5bf1da0401951f78a75f7e197c81a03b4ae540e22cd3ce9f2f2c99f0436780d510'
+
'448dc550df26c756b8fef7b774d193336d63f7fa2f01683308ddfd042edbe60677adad23c95e27b3d98ce7d6c734110cf218335bbc8bd0ce57dccf3eaa63a065')
 
 prepare() {
   cd ${pkgbase}-${pkgver}
-  patch -p1 < "${srcdir}/fix-python3.patch"
+  patch -p1 < "${srcdir}/install-libraries.patch"
+  patch -p1 < "${srcdir}/dont-use-rpath.patch"
   cp -ra py_ext{,-py2}
   cp Testing/python_test.sh Testing/python2_test.sh
   sed 's|py_ext|py_ext-py2|g' -i Testing/python2_test.sh
@@ -26,9 +30,14 @@
   cd ${pkgbase}-${pkgver}
   mkdir -p build
   (cd build
-cmake ..
+cmake .. \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib
 make
   )
+  (cd bin
+cmake -E create_symlink tlsh_unittest tlsh
+  )
   (cd py_ext
 python setup.py build
   )
@@ -48,15 +57,16 @@
 
 package_tlsh() {
   depends=('gcc-libs')
-
   cd ${pkgbase}-${pkgver}
   install -Dm 755 bin/tlsh_unittest "${pkgdir}/usr/bin/tlsh_unittest"
   install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  (cd build
+make DESTDIR="${pkgdir}" install
+  )
 }
 
 package_python-tlsh() {
   depends=('python')
-
   cd ${pkgbase}-${pkgver}/py_ext
   python setup.py install -O1 --root="${pkgdir}" --skip-build
 }
@@ -63,7 +73,6 @@
 
 package_python2-tlsh() {
   depends=('python2')
-
   cd ${pkgbase}-${pkgver}/py_ext-py2
   python2 setup.py install -O1 --root="${pkgdir}" --skip-build
 }

Added: dont-use-rpath.patch
===
--- dont-use-rpath.patch(rev 0)
+++ dont-use-rpath.patch2016-01-28 13:02:10 UTC (rev 159315)
@@ -0,0 +1,46 @@
+From 7363d0ec5c84e873d86defc8a02533e6debcb4bd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= 
+Date: Wed, 27 Jan 2016 17:43:44 +0100
+Subject: [PATCH 1/2] do not set RPATH for tlsh_unittest
+
+Using RPATH leads to problem when linked libraries have their own
+dependencies. See: https://wiki.debian.org/RpathIssue
+---
+ test/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index bc92ffc..8b9181f 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -26,3 +26,4 @@ add_executable(tlsh_unittest tlsh_unittest.cpp)
+ target_link_libraries(tlsh_unittest tlsh_shared)
+ set_target_properties(tlsh_unittest PROPERTIES RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_SOURCE_DIR}/bin)
+ set_target_properties(tlsh_unittest PROPERTIES OUTPUT_NAME 
tlsh_unittest${BUILD_POSTFIX})
++set_target_properties(tlsh_unittest PROPERTIES SKIP_BUILD_RPATH TRUE)
+-- 
+2.7.0
+
+
+From 9f6f94efe8c900a522607e2cbf7f2d443511c3b5 Mon Sep 17 00:00:00 2001
+From: anthraxx 
+Date: Wed, 27 Jan 2016 19:01:12 +0100
+Subject: [PATCH 2/2] set LD_PRELOAD for running tests against local shared
+ library
+
+---
+ Testing/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt
+index 42c739f..c7276b8 100644
+--- 

[arch-commits] Commit in npm/repos/community-any (PKGBUILD PKGBUILD)

2016-01-28 Thread Felix Yan
Date: Friday, January 29, 2016 @ 04:18:35
  Author: fyan
Revision: 159401

archrelease: copy trunk to community-any

Added:
  npm/repos/community-any/PKGBUILD
(from rev 159400, npm/trunk/PKGBUILD)
Deleted:
  npm/repos/community-any/PKGBUILD

--+
 PKGBUILD |   96 ++---
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-01-29 03:18:16 UTC (rev 159400)
+++ PKGBUILD2016-01-29 03:18:35 UTC (rev 159401)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgname=npm
-pkgver=3.5.3
-pkgrel=1
-pkgdesc='A package manager for javascript'
-arch=('any')
-url='https://www.npmjs.com/'
-license=('custom:Artistic')
-depends=('nodejs')
-provides=('nodejs-node-gyp')
-makedepends=('git' 'procps-ng')
-optdepends=('python2: for node-gyp')
-options=('!emptydirs')
-source=("git+https://github.com/npm/npm.git#tag=v$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd npm
-  make
-}
-
-package() {
-  cd npm
-  make NPMOPTS="--prefix=\"$pkgdir/usr\"" install
-
-  # Why 777? :/
-  chmod -R u=rwX,go=rX "$pkgdir"
-  
-  # Fix files owned by nobody:
-  chown -R root "$pkgdir/usr/lib/node_modules" 
-
-  # Fix wrong symlinks
-  for _dir in man1 man5 man7; do
-rm -f "$pkgdir"/usr/share/man/$_dir/*
-cd "$pkgdir"/usr/lib/node_modules/npm/man/$_dir
-for _file in *; do
-  ln -s /usr/lib/node_modules/npm/man/$_dir/$_file 
"$pkgdir"/usr/share/man/$_dir/
-done
-  done
-  
-  # Provide node-gyp executable
-  cp "$pkgdir"/usr/lib/node_modules/npm/bin/node-gyp-bin/node-gyp 
"$pkgdir"/usr/bin/node-gyp
-  sed -i 's|"`dirname "$0"`/../../|"`dirname "$0"`/../lib/node_modules/npm/|' 
"$pkgdir"/usr/bin/node-gyp
-  
-  install -Dm644 "$srcdir/npm/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: npm/repos/community-any/PKGBUILD (from rev 159400, npm/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-01-29 03:18:35 UTC (rev 159401)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=npm
+pkgver=3.6.0
+pkgrel=1
+pkgdesc='A package manager for javascript'
+arch=('any')
+url='https://www.npmjs.com/'
+license=('custom:Artistic')
+depends=('nodejs')
+provides=('nodejs-node-gyp')
+makedepends=('git' 'procps-ng')
+optdepends=('python2: for node-gyp')
+options=('!emptydirs')
+source=("git+https://github.com/npm/npm.git#tag=v$pkgver;)
+md5sums=('SKIP')
+
+build() {
+  cd npm
+  make
+}
+
+package() {
+  cd npm
+  make NPMOPTS="--prefix=\"$pkgdir/usr\"" install
+
+  # Why 777? :/
+  chmod -R u=rwX,go=rX "$pkgdir"
+  
+  # Fix files owned by nobody:
+  chown -R root "$pkgdir/usr/lib/node_modules" 
+
+  # Fix wrong symlinks
+  for _dir in man1 man5 man7; do
+rm -f "$pkgdir"/usr/share/man/$_dir/*
+cd "$pkgdir"/usr/lib/node_modules/npm/man/$_dir
+for _file in *; do
+  ln -s /usr/lib/node_modules/npm/man/$_dir/$_file 
"$pkgdir"/usr/share/man/$_dir/
+done
+  done
+  
+  # Provide node-gyp executable
+  cp "$pkgdir"/usr/lib/node_modules/npm/bin/node-gyp-bin/node-gyp 
"$pkgdir"/usr/bin/node-gyp
+  sed -i 's|"`dirname "$0"`/../../|"`dirname "$0"`/../lib/node_modules/npm/|' 
"$pkgdir"/usr/bin/node-gyp
+  
+  install -Dm644 "$srcdir/npm/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in npm/trunk (PKGBUILD)

2016-01-28 Thread Felix Yan
Date: Friday, January 29, 2016 @ 04:18:16
  Author: fyan
Revision: 159400

upgpkg: npm 3.6.0-1

Modified:
  npm/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-29 01:28:34 UTC (rev 159399)
+++ PKGBUILD2016-01-29 03:18:16 UTC (rev 159400)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=npm
-pkgver=3.5.3
+pkgver=3.6.0
 pkgrel=1
 pkgdesc='A package manager for javascript'
 arch=('any')


<    1   2