Date: Monday, September 29, 2014 @ 19:55:49 Author: idevolder Revision: 119806
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: apper/repos/community-testing-i686/ apper/repos/community-testing-i686/PKGBUILD (from rev 119805, apper/trunk/PKGBUILD) apper/repos/community-testing-i686/apper.install (from rev 119805, apper/trunk/apper.install) apper/repos/community-testing-x86_64/ apper/repos/community-testing-x86_64/PKGBUILD (from rev 119805, apper/trunk/PKGBUILD) apper/repos/community-testing-x86_64/apper.install (from rev 119805, apper/trunk/apper.install) ----------------------------------------+ community-testing-i686/PKGBUILD | 46 +++++++++++++++++++++++++++++++ community-testing-i686/apper.install | 29 +++++++++++++++++++ community-testing-x86_64/PKGBUILD | 46 +++++++++++++++++++++++++++++++ community-testing-x86_64/apper.install | 29 +++++++++++++++++++ 4 files changed, 150 insertions(+) Copied: apper/repos/community-testing-i686/PKGBUILD (from rev 119805, apper/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-09-29 17:55:49 UTC (rev 119806) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Valeriy Lyasotskiy <ones...@ukr.net> +# Contributor: Zom <z...@eevul.org> + +pkgname=apper +pkgver=0.9.1 +pkgrel=1 +pkgdesc="Get and manage software in KDE" +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/Apper?content=84745" +license=('GPL') +depends=('kdebase-workspace' 'packagekit-qt4') +makedepends=('cmake' 'automoc4' 'chrpath') +install="$pkgname.install" +provides=('kpackagekit') +conflicts=('kpackagekit') +replaces=('kpackagekit') +source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha256sums=('ef143b663b21185f83876a2a8daaff3402d8ec45629fbec949cfcdc979a99466') + +prepare() { + cd "$pkgname-$pkgver" + + mkdir build +} + +build() { + cd "$pkgname-$pkgver/build" + + cmake ../ \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install + # avoid gnome-packagekit conflict (stolen from fedora as suggested) + mv "$pkgdir/usr/share/dbus-1/services/org.freedesktop.PackageKit.service" \ + "$pkgdir/usr/share/dbus-1/services/kde-org.freedesktop.PackageKit.service" + # Hack around cmake rpath bug (debian) + chrpath --list "$pkgdir/usr/bin/apper" + chrpath --replace "/usr/lib/apper" "$pkgdir/usr/bin/apper" +} Copied: apper/repos/community-testing-i686/apper.install (from rev 119805, apper/trunk/apper.install) =================================================================== --- community-testing-i686/apper.install (rev 0) +++ community-testing-i686/apper.install 2014-09-29 17:55:49 UTC (rev 119806) @@ -0,0 +1,29 @@ +available() { + which "$1" >/dev/null 2>&1 +} + +updatemime() { + # Setup Menus + if available update-desktop-database + then + update-desktop-database -q /usr/share/applications + fi + + # Setup MIME types + if available update-mime-database + then + update-mime-database /usr/share/mime >/dev/null + fi +} + +post_install() { + updatemime +} + +post_upgrade() { + updatemime +} + +post_remove() { + updatemime +} Copied: apper/repos/community-testing-x86_64/PKGBUILD (from rev 119805, apper/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-09-29 17:55:49 UTC (rev 119806) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Valeriy Lyasotskiy <ones...@ukr.net> +# Contributor: Zom <z...@eevul.org> + +pkgname=apper +pkgver=0.9.1 +pkgrel=1 +pkgdesc="Get and manage software in KDE" +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/Apper?content=84745" +license=('GPL') +depends=('kdebase-workspace' 'packagekit-qt4') +makedepends=('cmake' 'automoc4' 'chrpath') +install="$pkgname.install" +provides=('kpackagekit') +conflicts=('kpackagekit') +replaces=('kpackagekit') +source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha256sums=('ef143b663b21185f83876a2a8daaff3402d8ec45629fbec949cfcdc979a99466') + +prepare() { + cd "$pkgname-$pkgver" + + mkdir build +} + +build() { + cd "$pkgname-$pkgver/build" + + cmake ../ \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install + # avoid gnome-packagekit conflict (stolen from fedora as suggested) + mv "$pkgdir/usr/share/dbus-1/services/org.freedesktop.PackageKit.service" \ + "$pkgdir/usr/share/dbus-1/services/kde-org.freedesktop.PackageKit.service" + # Hack around cmake rpath bug (debian) + chrpath --list "$pkgdir/usr/bin/apper" + chrpath --replace "/usr/lib/apper" "$pkgdir/usr/bin/apper" +} Copied: apper/repos/community-testing-x86_64/apper.install (from rev 119805, apper/trunk/apper.install) =================================================================== --- community-testing-x86_64/apper.install (rev 0) +++ community-testing-x86_64/apper.install 2014-09-29 17:55:49 UTC (rev 119806) @@ -0,0 +1,29 @@ +available() { + which "$1" >/dev/null 2>&1 +} + +updatemime() { + # Setup Menus + if available update-desktop-database + then + update-desktop-database -q /usr/share/applications + fi + + # Setup MIME types + if available update-mime-database + then + update-mime-database /usr/share/mime >/dev/null + fi +} + +post_install() { + updatemime +} + +post_upgrade() { + updatemime +} + +post_remove() { + updatemime +}