summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorphiresky2017-04-25 10:30:07 +0200
committerphiresky2017-04-25 10:31:27 +0200
commit5430a3401aa5ec66c27c0fb9aa8d862920399f5e (patch)
tree53cfc93266ee7101c6c197c3b5207bddbff6809a
parent795b810aa301e88dcf1e56ef3d8ae010f9a052be (diff)
downloadaur-5430a3401aa5ec66c27c0fb9aa8d862920399f5e.tar.gz
Apply post-install patch by Alari Maricq
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD4
-rw-r--r--svp.install15
3 files changed, 14 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b863b0e54f6a..d62a9814cddf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Thu Mar 30 17:16:46 UTC 2017
+# Tue Apr 25 08:31:17 UTC 2017
pkgbase = svp
pkgdesc = SmoothVideo Project 4 (SVP4)
pkgver = 4.1.0.105
- pkgrel = 1
+ pkgrel = 2
url = https://www.svp-team.com/wiki/SVP:Linux
+ install = svp.install
arch = x86_64
license = custom
makedepends = p7zip
diff --git a/PKGBUILD b/PKGBUILD
index cd1fb07191f0..f1867935471b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: phiresky <phireskyde+git@gmail.com>
pkgname=svp
pkgver=4.1.0.105
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="SmoothVideo Project 4 (SVP4)"
arch=('x86_64')
@@ -20,7 +20,7 @@ conflicts=()
replaces=()
backup=()
options=()
-install=
+install=${pkgname}.install
changelog=
source=("https://gist.githubusercontent.com/phiresky/1e2cbd30bed4e5978771af232d11afd1/raw/svp4-$pkgver.tbz2")
# I am rehosting the binaries
diff --git a/svp.install b/svp.install
index e2ad192d50a6..000aad32dfe7 100644
--- a/svp.install
+++ b/svp.install
@@ -1,3 +1,5 @@
+# SVP Install Actions:
+
## arg 1: the new package version
#pre_install() {
# do something here
@@ -11,15 +13,16 @@ post_install() {
## arg 1: the new package version
## arg 2: the old package version
-#pre_upgrade() {
- # do something here
-#}
+pre_upgrade() {
+ /opt/svp/remove-menuitem.sh
+}
## arg 1: the new package version
## arg 2: the old package version
-#post_upgrade() {
- # do something here
-#}
+post_upgrade() {
+ echo $pkgname
+ /opt/svp/add-menuitem.sh
+}
## arg 1: the old package version
pre_remove() {