diff options
author | Aetf | 2015-06-14 14:36:14 +0800 |
---|---|---|
committer | Aetf | 2015-06-14 14:36:14 +0800 |
commit | 750771cc84744d6ec1e19c7ef4c2ac4248aa8e86 (patch) | |
tree | 1ab96e4f15dc944d7571f1f582eefa522ac841b2 | |
parent | b4c8882d72f1d45f42da6e3a1071f4af87ac868f (diff) | |
download | aur-750771cc84744d6ec1e19c7ef4c2ac4248aa8e86.tar.gz |
Fix errors reported by namcap
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | cutemarked-git.install | 15 |
2 files changed, 23 insertions, 5 deletions
@@ -2,18 +2,21 @@ _gitname=CuteMarkEd pkgname=cutemarked-git -pkgver=0.10.1.r94.g73adcab -pkgrel=1 +pkgver=0.0.0 +pkgrel=2 pkgdesc="Qt Markdown Editor" url="https://github.com/cloose/CuteMarkEd" arch=('i686' 'x86_64') license=( "GPL2" ) -depends=( "qt5-webkit" "hunspell" "discount>=2.1.7" ) +depends=( "qt5-webkit" "hunspell" "discount>=2.1.7" "desktop-file-utils" "hicolor-icon-theme") makedepends=( 'git' 'qt5-tools' ) provides=('cutemarked') conflicts=('cutemarked') -source=( "git://github.com/cloose/CuteMarkEd.git" ) -md5sums=('SKIP') +source=( "git://github.com/cloose/CuteMarkEd.git" + "$pkgname.install") +md5sums=('SKIP' + 'c864bddb8fb532fe2ac27cd20de55b10') +install=$pkgname.install pkgver() { cd $srcdir/$_gitname diff --git a/cutemarked-git.install b/cutemarked-git.install new file mode 100644 index 000000000000..175f63938d1c --- /dev/null +++ b/cutemarked-git.install @@ -0,0 +1,15 @@ +post_upgrade() +{ + /usr/bin/update-desktop-database -q + /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} +post_install() +{ + post_upgrade +} + + +post_remove() +{ + post_upgrade +} |