author | Andrea Scarpino
<andrea@archlinux.org> 2011-11-21 22:57:37 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2011-11-21 22:57:37 UTC |
parent | 54e5bb9332ac98ce4b8b91f02b0f44f9c8c0233e |
PKGBUILD | +1 | -0 |
kdegraphics-mobipocket.install | +11 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index abf2915..4c6303b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,6 +11,7 @@ depends=('kdelibs') makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') +install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/mobipocket-${pkgver}.tar.bz2") sha1sums=('1da0a6d283b0ee361afeb27b0e03901581b86e8a') diff --git a/kdegraphics-mobipocket.install b/kdegraphics-mobipocket.install new file mode 100644 index 0000000..660593c --- /dev/null +++ b/kdegraphics-mobipocket.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}