diff options
author | Daniel Bermond | 2017-07-15 17:25:35 -0300 |
---|---|---|
committer | Daniel Bermond | 2017-07-15 17:25:35 -0300 |
commit | 30c1f18686355c8d72e34aa310cff04de6714131 (patch) | |
tree | 0a5c27262027f6d1a48ba28d2d17d0d9723c5347 | |
parent | 062be09302fe5befbbda6672d105c6954b4cca80 (diff) | |
download | aur-30c1f18686355c8d72e34aa310cff04de6714131.tar.gz |
Removed unnecessary commands
prepare():
- All icons seems to be installed correctly without the symbolic
link that was being created. Now prepare() can be removed.
build():
- The command 'minify_web_js.py' is already invoked from 'setup.py
build'. No need to execute it after 'setup.py'.
package():
- The 'deluge.svg' pixmap seems to be not needed by the package
since everything looks like to work normally without it.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 4 insertions, 15 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jul 15 20:23:22 UTC 2017 +# Sat Jul 15 20:24:39 UTC 2017 pkgbase = deluge-git pkgdesc = A BitTorrent client with multiple user interfaces in a client/server model (git version, 'develop' branch) pkgver = 2.0.0.dev983.g0353b82c0 - pkgrel = 4 + pkgrel = 5 url = http://deluge-torrent.org/ install = deluge.install arch = any @@ -6,7 +6,7 @@ pkgname=deluge-git pkgver=2.0.0.dev983.g0353b82c0 -pkgrel=4 +pkgrel=5 pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model (git version, 'develop' branch)" arch=('any') url='http://deluge-torrent.org/' @@ -39,26 +39,17 @@ sha256sums=('SKIP' '58a451bb6cf4fe6ff78a4fb71d51c5910340a2de032ff435c3c7365015ab538f' '26e4d01003804afb197c570175d44ed4dddd443cc1b88ab2d0230ceacfac90c5') -prepare() { - cd "${pkgname}/deluge/ui/data/icons" - ln -sf hicolor/scalable scalable -} - pkgver() { cd "$pkgname" - local _internalver="$(python2 version.py)" local _shorthash="$(git rev-parse --short HEAD)" - printf '%s.g%s' "$_internalver" "$_shorthash" - # alternative - #git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^deluge\.//;s/dev[[:digit:]]*\.//' + printf '%s.g%s' "$_internalver" "$_shorthash" } build() { cd "$pkgname" python2 setup.py build - python2 minify_web_js.py deluge/ui/web/js/deluge-all } package() { @@ -70,6 +61,4 @@ package() { install -d "${pkgdir}/srv" install -d -m775 -o125 -g125 "${pkgdir}/srv/deluge" - - install -D -m644 'deluge/ui/data/pixmaps/deluge.svg' "${pkgdir}/usr/share/pixmaps/deluge.svg" } |