summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author石博文2015-10-18 16:31:37 +0800
committer石博文2015-10-18 16:31:37 +0800
commitb7da5e3a7393ade39312ac0883e45c0cf3677fba (patch)
tree5949e5f7c0b5ed8c66b4b9f622a9330cc98e40c7
parent594a6a35835f9df0708be5bd9555258cbd0cd058 (diff)
downloadaur-b7da5e3a7393ade39312ac0883e45c0cf3677fba.tar.gz
add doubanfm.install
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
-rw-r--r--doubanfm.install31
3 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 830051e3c11d..bc4ab4b95ee2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = doubanfm
pkgver = r34.ceef4c3
pkgrel = 1
url = https://github.com/sbwtw/doubanFM
+ install = doubanfm.install
arch = x86_64
arch = i686
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 48fd2b53ed17..d633d758e539 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ depends=('gcc-libs' 'qt5-base')
makedepends=('git')
conflicts=('DoubanFM')
provides=('DoubanFM')
+install=${pkgname}.install
source=('git+https://github.com/sbwtw/doubanFM.git')
md5sums=('SKIP')
diff --git a/doubanfm.install b/doubanfm.install
new file mode 100644
index 000000000000..e3ff4a73c824
--- /dev/null
+++ b/doubanfm.install
@@ -0,0 +1,31 @@
+
+## arg 1: the new package version
+pre_install() {
+ return 0;
+}
+
+## arg 1: the new package version
+post_install() {
+ note "The executable file is called: DoubanFM"
+ return 0;
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+pre_upgrade() {
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ return 0;
+}
+
+## arg 1: the old package version
+pre_remove() {
+ return 0;
+}
+
+## arg 1: the old package version
+post_remove() {
+}