summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2016-02-07 21:57:57 +0100
committerMartchus2016-02-07 21:57:57 +0100
commit847f592b348ad61e27f354a73ccfe886e848b200 (patch)
tree78d57a606e41f31f40b6a25db35a763b80238855
parent99feebcd0900a21f1dcd29f7cf82eb6b744efa7a (diff)
downloadaur-847f592b348ad61e27f354a73ccfe886e848b200.tar.gz
correct install file
-rw-r--r--subtitlecomposer.install44
1 files changed, 8 insertions, 36 deletions
diff --git a/subtitlecomposer.install b/subtitlecomposer.install
index a167fec0eb08..2eaa60550d51 100644
--- a/subtitlecomposer.install
+++ b/subtitlecomposer.install
@@ -1,39 +1,11 @@
-# Maintainer: Martchus <martchus@gmx.net>
-# Contributor: Mladen Milinkovic <maxrd2@smoothware.net>
-
-# You can install/update Subtitle Composer from repository if you add following to /etc/pacman.conf
-# [subtitlecomposer]
-# # Subtitle Composer
-# SigLevel = PackageRequired
-# Server = http://smoothware.net/$repo/$arch
-
-pkgname=subtitlecomposer
-pkgver=0.5.8
-pkgrel=1
-pkgdesc="A KDE subtitle editor"
-arch=('i686' 'x86_64')
-url="https://github.com/maxrd2/${pkgname}"
-license=('GPL')
-depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kio' 'kross' 'kxmlgui' 'ki18n')
-# Comment/uncomment the following dependencies to disable/enable support for
-# MPV, gstreamer and/or Xine backend.
-# These are not optdepends as they must be present at build time.
-#depends+=('mpv')
-depends+=('gstreamer')
-depends+=('xine-lib')
-makedepends=('extra-cmake-modules')
-install=${pkgname}.install
-optdepends=('mplayer: for MPlayer backend')
-source=("https://github.com/maxrd2/${pkgname}/archive/v${pkgver}.tar.gz")
-md5sums=('09b95b408af45224c88529b09594349f')
+post_install() {
+ update-desktop-database -q
+}
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- cmake -DCMAKE_INSTALL_PREFIX=/usr
- make
+post_upgrade() {
+ post_install $1
}
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
+post_remove() {
+ post_install $1
+}