diff options
author | 石博文 | 2015-10-18 16:31:37 +0800 |
---|---|---|
committer | 石博文 | 2015-10-18 16:31:37 +0800 |
commit | b7da5e3a7393ade39312ac0883e45c0cf3677fba (patch) | |
tree | 5949e5f7c0b5ed8c66b4b9f622a9330cc98e40c7 | |
parent | 594a6a35835f9df0708be5bd9555258cbd0cd058 (diff) | |
download | aur-b7da5e3a7393ade39312ac0883e45c0cf3677fba.tar.gz |
add doubanfm.install
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | doubanfm.install | 31 |
3 files changed, 33 insertions, 0 deletions
@@ -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 @@ -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() { +} |