diff options
author | root <root@rshg054.dnsready.net> | 2011-10-26 23:15:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-26 23:15:38 +0000 |
commit | 84fe155e2233db86fcc13134d8802ba1dab0ae83 (patch) | |
tree | ef0f4e11745d4bf9e45ee5fa553dd4b13d6c3407 /community/qtfm | |
parent | d03e905f54857600b3c36af9b221c34ccb11074f (diff) |
Wed Oct 26 23:15:38 UTC 2011
Diffstat (limited to 'community/qtfm')
-rw-r--r-- | community/qtfm/PKGBUILD | 19 | ||||
-rw-r--r-- | community/qtfm/qtfm.install | 11 |
2 files changed, 20 insertions, 10 deletions
diff --git a/community/qtfm/PKGBUILD b/community/qtfm/PKGBUILD index 8806d5b01..555f01db7 100644 --- a/community/qtfm/PKGBUILD +++ b/community/qtfm/PKGBUILD @@ -1,27 +1,26 @@ +# $Id: PKGBUILD 57268 2011-10-25 05:38:14Z ebelanger $ # Maintainer: Brad Fanella <bradfanella@archlinux.us> # Contributor: Wittfella <wittfella@wittfella.com> pkgname=qtfm -pkgver=5.0 +pkgver=5.1 pkgrel=1 pkgdesc="A lightweight file manager" arch=('i686' 'x86_64') url="http://www.qtfm.org" license=('GPL') depends=('qt') +install=qtfm.install source=(http://www.qtfm.org/$pkgname-$pkgver.tar.gz) -md5sums=('ad8e6d2d1533b2b1327cda557251a35d') +md5sums=('e7e079d2586b46ce80998c52b777cb88') build() { - cd "$startdir/src/$pkgname-$pkgver" - qmake - make + cd "$srcdir/$pkgname-$pkgver" + qmake + make } package() { - cd "$startdir/src/$pkgname-$pkgver" - install -Dm 755 ${startdir}/src/$pkgname-$pkgver/qtfm ${startdir}/pkg/usr/bin/qtfm - install -Dm 644 ${startdir}/src/$pkgname-$pkgver/qtfm.desktop ${startdir}/pkg/usr/share/applications/qtfm.desktop - install -Dm 644 ${startdir}/src/$pkgname-$pkgver/images/qtfm.png ${startdir}/pkg/usr/share/pixmaps/qtfm.png + cd "$srcdir/$pkgname-$pkgver" + make INSTALL_ROOT="$pkgdir" install } - diff --git a/community/qtfm/qtfm.install b/community/qtfm/qtfm.install new file mode 100644 index 000000000..2eaa60550 --- /dev/null +++ b/community/qtfm/qtfm.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |