diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-07 11:25:20 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-07 11:25:20 -0300 |
commit | ea72eac0bc0d1abf4f6008383a8cf96bff0476da (patch) | |
tree | c6d9bfd076e21295939291fbf187f33d49de5538 /community/fotoxx | |
parent | 6ba17fd7084afd34f49d65a2d214a0c9617b4cd4 (diff) | |
parent | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/avidemux/PKGBUILD
extra/kdesdk/PKGBUILD
extra/swh-plugins/PKGBUILD
kde-unstable/kdesdk/PKGBUILD
multilib/nspluginwrapper/PKGBUILD
Diffstat (limited to 'community/fotoxx')
-rw-r--r-- | community/fotoxx/PKGBUILD | 17 | ||||
-rw-r--r-- | community/fotoxx/fotoxx.install | 16 |
2 files changed, 12 insertions, 21 deletions
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD index 8703c0fea..3c7e384f8 100644 --- a/community/fotoxx/PKGBUILD +++ b/community/fotoxx/PKGBUILD @@ -1,30 +1,29 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=fotoxx -pkgver=11.05.1 +pkgver=11.06 pkgrel=1 pkgdesc="A program for improving image files made with a digital camera" url="http://kornelix.squarespace.com/fotoxx" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') -depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils') +depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-utils') optdepends=('mashup: for printing from within fotoxx' 'brasero: for burning') source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz") -md5sums=('27e1501ec6426286bc1da935fd2fa7e9') -replaces=('fotox') +md5sums=('e636e10f6a46f0a813e704f18eac3176') +install=fotoxx.install build() { cd $srcdir/$pkgname-$pkgver make PREFIX=/usr \ CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \ LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`" - sed -i '8,9d' data/desktop + sed -i 's+^# ++' data/desktop } package() { cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir PREFIX=/usr install + rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop install -Dm644 data/desktop \ - $pkgdir/usr/share/applications/$pkgname.desktop - make MENUFILE1=$pkgdir/usr/share/applications/$pkgname.desktop \ - DESTDIR=$pkgdir PREFIX=/usr install -rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop + $pkgdir/usr/share/applications/$pkgname.desktop } diff --git a/community/fotoxx/fotoxx.install b/community/fotoxx/fotoxx.install index 03d1a4eaf..90156a79c 100644 --- a/community/fotoxx/fotoxx.install +++ b/community/fotoxx/fotoxx.install @@ -1,17 +1,9 @@ post_install() { - echo "Adding desktop file" - echo "[Desktop Entry]" > /usr/share/applications/fotoxx.desktop - echo "Name=fotoxx" >> /usr/share/applications/fotoxx.desktop - echo "Categories=Graphics" >> /usr/share/applications/fotoxx.desktop - echo "Type=Application" >> /usr/share/applications/fotoxx.desktop - echo "Terminal=false" >> /usr/share/applications/fotoxx.desktop - echo "Exec=/usr/bin/fotoxx" >> /usr/share/applications/fotoxx.desktop - echo "Icon=/usr/share/icons/fotoxx.png" >> /usr/share/applications/fotoxx.desktop - echo "GenericName=Digital Photo Editor" >> /usr/share/applications/fotoxx.desktop + update-desktop-database -q } post_update() { - post_install + update-desktop-database -q } -pre_remove() { - [ -f /usr/share/applications/fotoxx.desktop ] && rm /usr/share/applications/fotoxx.desktop +post_remove() { + update-desktop-database -q } |