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

Filipe Laíns ffy00 at archlinux.org
Wed Oct 24 21:51:42 UTC 2018


    Date: Wednesday, October 24, 2018 @ 21:51:42
  Author: ffy00
Revision: 398892

archrelease: copy trunk to community-any

Added:
  tribler/repos/community-any/PKGBUILD
    (from rev 398891, tribler/trunk/PKGBUILD)
Deleted:
  tribler/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-24 21:51:36 UTC (rev 398891)
+++ PKGBUILD	2018-10-24 21:51:42 UTC (rev 398892)
@@ -1,72 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=tribler
-_gitver=7.1.0
-pkgver=${_gitver//-/_}
-pkgrel=1
-pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
-url='https://www.tribler.org/'
-arch=('any')
-license=('LGPL3')
-depends=('libsodium' 'libtorrent-rasterbar' 'python2-pyqt5' 'qt5-svg' 'phonon-qt5-vlc'
-         'python2-apsw' 'python2-cherrypy' 'python2-cryptography' 'python2-decorator'
-         'python2-feedparser' 'python2-chardet' 'python2-m2crypto' 'python2-netifaces'
-         'python2-plyvel' 'python2-twisted' 'python2-configobj' 'python2-matplotlib'
-         'python2-networkx' 'python2-psutil' 'python2-scipy' 'python2-libnacl')
-optdepends=('vlc: for internal video player')
-makedepends=('python2-setuptools' 'git')
-provides=('python2-pyipv8')
-conflicts=('python2-pyipv8')
-source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.gz")
-sha512sums=('24c8323a88c315719bdada118dbbbb2d9f40e313d9911c2b1902eb9867906097a78fe2ee579d76fd433555c718b37d507826769d38ac3971947d00918dc46ce1')
-
-prepare() {
-  cd $pkgname
-
-  # Fix tribler path
-  sed -i 's|/opt/tribler|/usr/share/tribler|g' systemd/anontunnel_helper at .service
-  sed -i 's|/opt/tribler|/usr/share/tribler|g' systemd/tribler.service
-
-  # Fix version info
-  sed -e "s|version_id =.*|version_id = \"${pkgver%_*}\"|g" \
-      -e "s|build_date =.*|build_date = \"$(date)\"|g" \
-        -i Tribler/Core/version.py
-}
-
-build () {
-  cd $pkgname
-
-  python2 setup.py build
-}
-
-package() {
-  cd $pkgname
-
-  # Install python modules
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  # Install binary files/assets
-  install -dm 755 "$pkgdir"/usr/{bin,share/tribler}
-  cp -dr --no-preserve=ownership Tribler "$pkgdir"/usr/share/tribler
-  cp -dr --no-preserve=ownership TriblerGUI "$pkgdir"/usr/share/tribler
-  ln -s Tribler/Core/CacheDB/schema_sdb_v*.sql "$pkgdir"/usr/share/tribler/Tribler
-
-  install -dm 755 "$pkgdir"/usr/share/{applications,pixmaps}
-  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler.desktop "$pkgdir"/usr/share/applications
-  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler.xpm "$pkgdir"/usr/share/pixmaps
-  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler_big.xpm "$pkgdir"/usr/share/pixmaps
-  install -Dm 755 debian/bin/tribler "$pkgdir"/usr/bin
-  install -Dm 644 logger.conf "$pkgdir"/usr/share/tribler/
-  install -Dm 644 run_tribler.py "$pkgdir"/usr/share/tribler/
-  install -Dm 644 check_os.py "$pkgdir"/usr/share/tribler/
-
-  cp -dr --no-preserve=ownership twisted "$pkgdir"/usr/share/tribler
-
-  # Remove test folders
-  find "$pkgdir" -type d -name "test" -name "tests" -exec rm -rf {} \;
-
-  # Install systemd files
-  install -Dm 644 systemd/anontunnel_helper at .service "$pkgdir"/usr/lib/systemd/system/anontunnel_helper at .service
-  install -Dm 644 systemd/tribler.service "$pkgdir"/usr/lib/systemd/system/tribler.service
-}
-

Copied: tribler/repos/community-any/PKGBUILD (from rev 398891, tribler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-24 21:51:42 UTC (rev 398892)
@@ -0,0 +1,72 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=tribler
+_gitver=7.1.0
+pkgver=7.1.1
+pkgrel=1
+pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
+url='https://www.tribler.org/'
+arch=('any')
+license=('LGPL3')
+depends=('libsodium' 'libtorrent-rasterbar' 'python2-pyqt5' 'qt5-svg' 'phonon-qt5-vlc'
+         'python2-apsw' 'python2-cherrypy' 'python2-cryptography' 'python2-decorator'
+         'python2-feedparser' 'python2-chardet' 'python2-m2crypto' 'python2-netifaces'
+         'python2-plyvel' 'python2-twisted' 'python2-configobj' 'python2-matplotlib'
+         'python2-networkx' 'python2-psutil' 'python2-scipy' 'python2-libnacl')
+optdepends=('vlc: for internal video player')
+makedepends=('python2-setuptools' 'git')
+provides=('python2-pyipv8')
+conflicts=('python2-pyipv8')
+source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.gz")
+sha512sums=('4d88dae426ec5016df4f4030d08e146f8907357762a65e149333521dccd40939712b5436be7b235992e9cec79e177354a85a7e780cb9c21a5e701129c3de374a')
+
+prepare() {
+  cd $pkgname
+
+  # Fix tribler path
+  sed -i 's|/opt/tribler|/usr/share/tribler|g' systemd/anontunnel_helper at .service
+  sed -i 's|/opt/tribler|/usr/share/tribler|g' systemd/tribler.service
+
+  # Fix version info
+  sed -e "s|version_id =.*|version_id = \"${pkgver%_*}\"|g" \
+      -e "s|build_date =.*|build_date = \"$(date)\"|g" \
+        -i Tribler/Core/version.py
+}
+
+build () {
+  cd $pkgname
+
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname
+
+  # Install python modules
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # Install binary files/assets
+  install -dm 755 "$pkgdir"/usr/{bin,share/tribler}
+  cp -dr --no-preserve=ownership Tribler "$pkgdir"/usr/share/tribler
+  cp -dr --no-preserve=ownership TriblerGUI "$pkgdir"/usr/share/tribler
+  ln -s Tribler/Core/CacheDB/schema_sdb_v*.sql "$pkgdir"/usr/share/tribler/Tribler
+
+  install -dm 755 "$pkgdir"/usr/share/{applications,pixmaps}
+  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler.desktop "$pkgdir"/usr/share/applications
+  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler.xpm "$pkgdir"/usr/share/pixmaps
+  install -Dm 644 Tribler/Main/Build/Ubuntu/tribler_big.xpm "$pkgdir"/usr/share/pixmaps
+  install -Dm 755 debian/bin/tribler "$pkgdir"/usr/bin
+  install -Dm 644 logger.conf "$pkgdir"/usr/share/tribler/
+  install -Dm 644 run_tribler.py "$pkgdir"/usr/share/tribler/
+  install -Dm 644 check_os.py "$pkgdir"/usr/share/tribler/
+
+  cp -dr --no-preserve=ownership twisted "$pkgdir"/usr/share/tribler
+
+  # Remove test folders
+  find "$pkgdir" -type d -name "test" -name "tests" -exec rm -rf {} \;
+
+  # Install systemd files
+  install -Dm 644 systemd/anontunnel_helper at .service "$pkgdir"/usr/lib/systemd/system/anontunnel_helper at .service
+  install -Dm 644 systemd/tribler.service "$pkgdir"/usr/lib/systemd/system/tribler.service
+}
+



More information about the arch-commits mailing list