angrysearch: update to 1.0.0
This commit is contained in:
parent
eed0fc4d0e
commit
69904f6445
2 changed files with 22 additions and 14 deletions
13
srcpkgs/angrysearch/patches/00-fiximport.patch
Normal file
13
srcpkgs/angrysearch/patches/00-fiximport.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git angrysearch.py angrysearch.py
|
||||||
|
index 33c181d..ef9d5a2 100644
|
||||||
|
--- angrysearch.py
|
||||||
|
+++ angrysearch.py
|
||||||
|
@@ -18,6 +18,8 @@ import subprocess
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
|
+sys.path.append('/usr/share/angrysearch/')
|
||||||
|
+
|
||||||
|
# QT RESOURCE FILE WITH MIME ICONS AND DARK GUI THEME ICONS
|
||||||
|
# IF NOT AVAILABLE ONLY 2 ICONS REPRESENTING FILE & DIRECTORY ARE USED
|
||||||
|
try:
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'angrysearch'
|
# Template file for 'angrysearch'
|
||||||
pkgname=angrysearch
|
pkgname=angrysearch
|
||||||
version=0.9.9
|
version=1.0.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="ANGRYsearch-${version}"
|
wrksrc="ANGRYsearch-${version}"
|
||||||
depends="python3.4-PyQt5 xdg-utils"
|
depends="python3.4-PyQt5 xdg-utils"
|
||||||
|
@ -11,22 +11,17 @@ license="GPL-2"
|
||||||
homepage="https://github.com/dotheevo/angrysearch/"
|
homepage="https://github.com/dotheevo/angrysearch/"
|
||||||
pycompile_dirs="usr/share/angrysearch"
|
pycompile_dirs="usr/share/angrysearch"
|
||||||
distfiles="http://github.com/dotheevo/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="http://github.com/dotheevo/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=d2e8d9985fd9d34c9a4c14fcc57cdc6c4888bb260c95b18015de5f869bb3f9ad
|
checksum=6dd2b97da63ab98f08d412bd31a0cd0413ac542d80cc7603e08b94ca13133fbe
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall angrysearch.py 755 "usr/share/angrysearch"
|
vinstall angrysearch.desktop 644 "usr/share/applications"
|
||||||
vinstall angrysearch_update_database.py 755 "usr/share/angrysearch"
|
vinstall angrysearch.svg 644 "usr/share/pixmaps"
|
||||||
vinstall angrysearch.desktop 644 "usr/share/angrysearch"
|
|
||||||
vinstall angrysearch.svg 644 "/usr/share/angrysearch"
|
|
||||||
vinstall scandir.py 644 "usr/share/angrysearch"
|
vinstall scandir.py 644 "usr/share/angrysearch"
|
||||||
vinstall resource_file.py 644 "usr/share/angrysearch"
|
vinstall resource_file.py 644 "usr/share/angrysearch"
|
||||||
vinstall qdarkstylesheet.qss 644 "/usr/share/angrysearch"
|
vinstall qdarkstylesheet.qss 644 "usr/share/angrysearch"
|
||||||
|
vinstall angrysearch_update_database.py 755 "usr/share/angrysearch"
|
||||||
|
vinstall angrysearch.py 755 "usr/share/angrysearch"
|
||||||
|
|
||||||
vmkdir "usr/bin"
|
vmkdir usr/bin/
|
||||||
vmkdir "share/pixmaps"
|
ln -s ../share/angrysearch/angrysearch.py "$DESTDIR/usr/bin/angrysearch.py"
|
||||||
vmkdir "usr/share/applications"
|
|
||||||
|
|
||||||
ln -s "/usr/share/angrysearch/angrysearch.py" "$DESTDIR/usr/bin/angrysearch"
|
|
||||||
ln -s "/usr/share/angrysearch/angrysearch.svg" "$DESTDIR/usr/share/pixmaps"
|
|
||||||
ln -s "/usr/share/angrysearch/angrysearch.desktop" "$DESTDIR/usr/share/applications"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue