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

Filipe Laíns ffy00 at archlinux.org
Thu Nov 1 13:12:23 UTC 2018


    Date: Thursday, November 1, 2018 @ 13:12:22
  Author: ffy00
Revision: 401086

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-01 13:12:17 UTC (rev 401085)
+++ PKGBUILD	2018-11-01 13:12:22 UTC (rev 401086)
@@ -1,72 +0,0 @@
-# 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
-}
-

Copied: tribler/repos/community-any/PKGBUILD (from rev 401085, tribler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-01 13:12:22 UTC (rev 401086)
@@ -0,0 +1,71 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=tribler
+pkgver=7.1.2
+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=('2247e6a6ef91d40b48f77565ab95a350d410996ec50bc6989f683782ba360386754e33e602789b5a9c8fdb55ec6cfe0c98362e4a0bb3a68d955d438cd1ad27ad')
+
+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