summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122017-06-18 23:16:59 +0200
committerwillemw122017-06-23 07:56:15 +0200
commit2c2548fd2dbbf01bb39ccf156d14914d57967d11 (patch)
treef9d21bfabb981abf90f918fcd344d92295dad5aa
parent54620aff22d0354609b6e535567a32ab7e2715c2 (diff)
downloadaur-2c2548fd2dbbf01bb39ccf156d14914d57967d11.tar.gz
Add python2-twodict. Remove .install file. Remove "youtube-dl-gui.png" patch
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
-rw-r--r--youtube-dl-gui-git.install12
3 files changed, 8 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0e35a6860f0..f1de3cbb116 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
+# Generated by mksrcinfo v8
+# Fri Jun 23 05:55:44 UTC 2017
pkgbase = youtube-dl-gui-git
pkgdesc = A cross platform front-end GUI of the popular youtube-dl written in wxPython
- pkgver = 0.3.8.r64.gfa3de1d
+ pkgver = 0.3.8.r447.g182a587
pkgrel = 1
url = https://github.com/MrS0m30n3/youtube-dl-gui
- install = youtube-dl-gui-git.install
arch = any
license = custom:UNLICENSE
makedepends = git
depends = gtk-update-icon-cache
- depends = python2
+ depends = python2-twodict
depends = wxpython
optdepends = ffmpeg: convert video files to audio-only files
- optdepends = youtube-dl: alternative to the youtube-dl program file downloaded by youtube-dl-gui
+ optdepends = youtube-dl: alternative to the youtube-dl program downloaded by youtube-dl-gui
provides = youtube-dl-gui
conflicts = youtube-dl-gui
source = youtube-dl-gui-git::git://github.com/MrS0m30n3/youtube-dl-gui.git
diff --git a/PKGBUILD b/PKGBUILD
index 2ffeb6d9379..29ebd364ec2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,18 @@
_pkgname=youtube-dl-gui
pkgname=$_pkgname-git
-pkgver=0.3.8.r64.gfa3de1d
+pkgver=0.3.8.r447.g182a587
pkgrel=1
pkgdesc="A cross platform front-end GUI of the popular youtube-dl written in wxPython"
arch=('any')
url="https://github.com/MrS0m30n3/youtube-dl-gui"
license=('custom:UNLICENSE')
-depends=('gtk-update-icon-cache' 'python2' 'wxpython')
+depends=('gtk-update-icon-cache' 'python2-twodict' 'wxpython')
optdepends=('ffmpeg: convert video files to audio-only files'
- 'youtube-dl: alternative to the youtube-dl program file downloaded by youtube-dl-gui')
+ 'youtube-dl: alternative to the youtube-dl program downloaded by youtube-dl-gui')
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
-install=$pkgname.install
source=($pkgname::git://github.com/MrS0m30n3/youtube-dl-gui.git
youtube-dl-gui.desktop)
md5sums=('SKIP'
@@ -32,13 +31,5 @@ package() {
cd $pkgname
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python2 setup.py install --root="$pkgdir" --optimize=1
-
- # Patch: add "youtube-dl-gui.png" icon filenames
- for dir in "$pkgdir"/usr/share/icons/hicolor/*/apps "$pkgdir/usr/share/pixmaps"; do
- cd "$dir"
- for icon in youtube-dl-gui_*.png; do
- ln -s $icon youtube-dl-gui.png
- done
- done
}
diff --git a/youtube-dl-gui-git.install b/youtube-dl-gui-git.install
deleted file mode 100644
index 5f3cb010923..00000000000
--- a/youtube-dl-gui-git.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-