diff options
author | Andy Weidenbaum | 2016-09-02 17:26:38 -0400 |
---|---|---|
committer | Andy Weidenbaum | 2016-09-02 17:26:38 -0400 |
commit | f6c6ad9871d6b35d5e68d97be622005a5bbc839b (patch) | |
tree | f7fa6046cdbc19264bbd10f1cc9f6a8fa9c6776a | |
parent | 6a09054595d882dbc251438e855b173e7d198a14 (diff) | |
download | aur-f6c6ad9871d6b35d5e68d97be622005a5bbc839b.tar.gz |
changing src website
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | update-vlc-plugin-cache.hook | 11 | ||||
-rw-r--r-- | vlc-nightly.install | 18 |
4 files changed, 25 insertions, 29 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Thu Jul 14 12:51:30 UTC 2016 +# Fri Sep 2 21:26:19 UTC 2016 pkgbase = vlc-nightly pkgdesc = A multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot - pkgver = 3.0.0v20160704 + pkgver = 3.0.0v20160901 pkgrel = 1 url = http://www.videolan.org/vlc/ - install = vlc-nightly.install arch = i686 arch = x86_64 license = LGPL2.1 @@ -97,8 +96,10 @@ pkgbase = vlc-nightly replaces = vlc-plugin options = !libtool options = !emptydirs - source = http://altair.videolan.org/build/source/vlc-3.0.0-20160704-0536.tar.xz - sha1sums = 9bfd839e48d1fa41de91c953617386968ecd3bf3 + source = http://nightlies.videolan.org/build/source/vlc-3.0.0-20160901-0221-git.tar.xz + source = update-vlc-plugin-cache.hook + sha1sums = 8cae040b3b7c2ac0b84ad5df9b2974d5582822d1 + sha1sums = c3a35ba4dbd6c8e4e5b032664f50b9f0dcf579ee pkgname = vlc-nightly @@ -4,10 +4,10 @@ _appname_=vlc pkgname=${_appname_}-nightly -pkgver=3.0.0v20160704 +pkgver=3.0.0v20160901 _pkgver=3.0.0 -_snapshot_=20160704 -_snapver_=0536 +_snapshot_=20160901 +_snapver_=0221 _nightly_=${_snapshot_}-${_snapver_} pkgrel=1 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot" @@ -62,8 +62,7 @@ replaces=("${_appname_}-plugin") #backup=("usr/share/${_appname_}/lua/http/.hosts" # "usr/share/${_appname_}/lua/http/dialogs/.hosts") options=("!libtool" "!emptydirs") -install="${pkgname}.install" -source=("http://altair.videolan.org/build/source/vlc-${_pkgver}-${_nightly_}.tar.xz") +source=("http://nightlies.videolan.org/build/source/vlc-${_pkgver}-${_nightly_}-git.tar.xz" "update-vlc-plugin-cache.hook") pkgver() { printf 3.0.0v$_snapshot_ @@ -109,6 +108,9 @@ package() { install -D -m644 "${srcdir}/${_appname_}-3.0.0-git/share/icons/${res}x${res}/${_appname_}.png" \ "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/${_appname_}.png" done + + install -Dm644 "$srcdir"/update-vlc-plugin-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-vlc-plugin-cache.hook } -sha1sums=('9bfd839e48d1fa41de91c953617386968ecd3bf3') +sha1sums=('8cae040b3b7c2ac0b84ad5df9b2974d5582822d1' + 'c3a35ba4dbd6c8e4e5b032664f50b9f0dcf579ee') diff --git a/update-vlc-plugin-cache.hook b/update-vlc-plugin-cache.hook new file mode 100644 index 000000000000..3fbf13d9a1db --- /dev/null +++ b/update-vlc-plugin-cache.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/lib/vlc/plugins/* + +[Action] +Description = Updating the vlc plugin cache... +When = PostTransaction +Exec = /usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins diff --git a/vlc-nightly.install b/vlc-nightly.install deleted file mode 100644 index dc4961caee92..000000000000 --- a/vlc-nightly.install +++ /dev/null @@ -1,18 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -pre_remove() { - rm -f usr/lib/vlc/plugins/plugins-*.dat -} - -post_remove() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q -} |