Date: Wednesday, February 3, 2016 @ 21:14:24 Author: arodseth Revision: 160111
upgpkg: catfish 1.3.4-1 Modified: catfish/trunk/PKGBUILD ----------+ PKGBUILD | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-02-03 20:09:13 UTC (rev 160110) +++ PKGBUILD 2016-02-03 20:14:24 UTC (rev 160111) @@ -5,8 +5,8 @@ # Contributor: Pantelis Panayiotou <[email protected]> pkgname=catfish -pkgver=1.3.3 -pkgrel=3 +pkgver=1.3.4 +pkgrel=1 pkgdesc='Versatile file searching tool' arch=('any') url='https://launchpad.net/catfish-search' @@ -13,7 +13,7 @@ license=('GPL') install="$pkgname.install" depends=('python-gobject' 'python-xdg' 'python-pexpect' 'python-cairo' 'python-ptyprocess' 'gtk3' 'xdg-utils') -makedepends=('intltool') +makedepends=('intltool' 'python-distutils-extra') optdepends=('zeitgeist: integration with zeitgeist' 'findutils: filename search' 'mlocate: filename search' @@ -21,31 +21,23 @@ 'strigi: fulltext search' 'pinot: fulltext search') source=("https://launchpad.net/catfish-search/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2") -sha256sums=('1f6fc743478545b81ff580ff43413e221aec340a4e3d57bc3edc94746d8604f8') +sha256sums=('2bac6fedec6cdecefcbeed37e98cb6417c5646a3d4db5b04d831867983e8e1db') -prepare() { +build() { cd "$pkgname-$pkgver" - sed -i 's|ln -sf $(PREFIX)/share|ln -sf ..|' Makefile.in.in - - # Is likely to be fixed for the next release. Bug: FS#46892 - sed -i 's|listboxrow6|application_menu_update|' data/ui/CatfishWindow.ui + python setup.py build } -build() { +package () { cd "$pkgname-$pkgver" - ./configure --prefix=/usr - make -} + python setup.py install --root="$pkgdir" --optimize=1 -package () { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install - - install -d "$pkgdir"/usr/share/pixmaps + install -d "$pkgdir/usr/share/pixmaps" ln -s "/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" \ "$pkgdir/usr/share/pixmaps/$pkgname.svg" } -# getver: bazaar.launchpad.net/~catfish-search/catfish-search/trunk/view/head:/configure +# getver: launchpad.net/catfish-search/+download # vim:set ts=2 sw=2 et:
