[arch-commits] Commit in tribler/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Mon Oct 21 10:52:44 UTC 2019
Date: Monday, October 21, 2019 @ 10:52:44
Author: ffy00
Revision: 518071
archrelease: copy trunk to community-any
Added:
tribler/repos/community-any/PKGBUILD
(from rev 518070, tribler/trunk/PKGBUILD)
Deleted:
tribler/repos/community-any/PKGBUILD
----------+
PKGBUILD | 158 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 79 insertions(+), 79 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-21 10:52:31 UTC (rev 518070)
+++ PKGBUILD 2019-10-21 10:52:44 UTC (rev 518071)
@@ -1,79 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=tribler
-pkgver=7.3.1
-pkgrel=1
-pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
-url='https://www.tribler.org'
-arch=('any')
-license=('LGPL3')
-depends=('python2-cryptography' 'python2-cherrypy' 'python2-lz4'
- 'python2-pillow' 'python2-pyqt5' 'qt5-svg' 'phonon-qt5-vlc' 'python2-chardet'
- 'python2-psutil' 'python2-meliae' 'python2-decorator' 'python2-netifaces'
- 'python2-twisted' 'libsodium' 'libtorrent-rasterbar' 'python2-configobj'
- 'python2-matplotlib' 'python2-service-identity' 'python2-pony'
- 'python2-libnacl' 'python2-contextlib2' 'python2-zc.lockfile' 'python2-networkx'
- 'python2-m2crypto' 'python2-apsw' 'python2-plyvel' 'python2-feedparser'
- 'python2-pyqtgraph')
-makedepends=('python2-setuptools' 'git')
-#checkdepends=('python2-pytest-runner')
-source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.xz")
-sha512sums=('44b2496aad79b5d20783a6add8e12cc99a584e1ef2b79c429b0640054331a41986b9e9ecc2a6e1d95c19b91c5a126a6d31ce48b9357e5ef997a90510b2e706c3')
-
-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%_*}-arch\"|g" \
- -e "s|build_date =.*|build_date = \"unkown\"|g" \
- -i Tribler/Core/version.py
-}
-
-build () {
- cd $pkgname
-
- python2 setup.py build
-}
-
-#check() {
-# cd $pkgname
-#
-# python2 setup.py test
-#}
-
-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
- rm -rf "$pkgdir"/usr/lib/python*/site-packages/Tribler/Test
- rm -rf "$pkgdir"/usr/share/tribler/Tribler/Test
-
- # 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 518070, tribler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-21 10:52:44 UTC (rev 518071)
@@ -0,0 +1,79 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=tribler
+pkgver=7.3.2
+pkgrel=1
+pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
+url='https://www.tribler.org'
+arch=('any')
+license=('LGPL3')
+depends=('python2-cryptography' 'python2-cherrypy' 'python2-lz4'
+ 'python2-pillow' 'python2-pyqt5' 'qt5-svg' 'phonon-qt5-vlc' 'python2-chardet'
+ 'python2-psutil' 'python2-meliae' 'python2-decorator' 'python2-netifaces'
+ 'python2-twisted' 'libsodium' 'libtorrent-rasterbar' 'python2-configobj'
+ 'python2-matplotlib' 'python2-service-identity' 'python2-pony'
+ 'python2-libnacl' 'python2-contextlib2' 'python2-zc.lockfile' 'python2-networkx'
+ 'python2-m2crypto' 'python2-apsw' 'python2-plyvel' 'python2-feedparser'
+ 'python2-pyqtgraph')
+makedepends=('python2-setuptools' 'git')
+#checkdepends=('python2-pytest-runner')
+source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.xz")
+sha512sums=('d1fb490984a43caa70a3648eece79e2810527dd93d372f506f2d5cff049a1e7e032ca937d7f2f0d0fb6d652bd9ed68b7591829e097119a69c5fa1c465f2b3fa0')
+
+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%_*}-arch\"|g" \
+ -e "s|build_date =.*|build_date = \"unkown\"|g" \
+ -i Tribler/Core/version.py
+}
+
+build () {
+ cd $pkgname
+
+ python2 setup.py build
+}
+
+#check() {
+# cd $pkgname
+#
+# python2 setup.py test
+#}
+
+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
+ rm -rf "$pkgdir"/usr/lib/python*/site-packages/Tribler/Test
+ rm -rf "$pkgdir"/usr/share/tribler/Tribler/Test
+
+ # 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