Date: Tuesday, March 27, 2018 @ 16:58:46 Author: bgyorgy Revision: 312893
archrelease: copy trunk to community-any Added: guake/repos/community-any/PKGBUILD (from rev 312892, guake/trunk/PKGBUILD) Deleted: guake/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-27 16:58:21 UTC (rev 312892) +++ PKGBUILD 2018-03-27 16:58:46 UTC (rev 312893) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Wilson Pinto Júnior (N3RD3X) <n3r...@linuxmail.org> -# Contributor: Attila Bukor <r1pp3rj...@w4it.eu> - -pkgname=guake -pkgver=3.0.5 -pkgrel=1 -pkgdesc='Drop-down terminal for GNOME' -arch=('any') -url="http://guake-project.org/" -license=('GPL') -depends=('libkeybinder3' 'libnotify' 'libutempter' 'python-cairo' 'python-dbus' 'python-gobject' 'vte3') -makedepends=('python-pbr' 'git') -_commit=525b134e8e12db687a7fc5bc6134c7af49a957fc # tags/3.0.5^0 -source=("git+https://github.com/Guake/guake#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgname - sed -i '/glib-compile-schemas/d' Makefile - - # Fix path - sed -i "s|IMAGE_DIR = os.path.join(SRC_DIR, 'data/pixmaps')|IMAGE_DIR = '/usr/share/pixmaps/guake'| - s|GLADE_DIR = os.path.join(SRC_DIR, 'data')|GLADE_DIR = '/usr/share/guake'| - s|SCHEMA_DIR = os.path.join(SRC_DIR, 'data')|SCHEMA_DIR = '/usr/share/glib-2.0/schemas'|" guake/globals.py - - # Remove dependency on python-pbr - sed -i "/import pbr.version/d - s/pbr.version.VersionInfo('guake').version_string()/'$pkgver'/" guake/__init__.py -} - -build() { - cd $pkgname - PBR_VERSION=$pkgver python3 setup.py build - make generate-desktop generate-mo -} - -package() { - cd $pkgname - PBR_VERSION=$pkgver python3 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 -t "$pkgdir/usr/share/guake/" guake/data/*.glade - install -Dm644 -t "$pkgdir/usr/share/pixmaps/guake/" guake/data/pixmaps/*.png - make PREFIX="$pkgdir/usr" install-schemas install-locale -} Copied: guake/repos/community-any/PKGBUILD (from rev 312892, guake/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-27 16:58:46 UTC (rev 312893) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Wilson Pinto Júnior (N3RD3X) <n3r...@linuxmail.org> +# Contributor: Attila Bukor <r1pp3rj...@w4it.eu> + +pkgname=guake +pkgver=3.0.5 +pkgrel=2 +pkgdesc='Drop-down terminal for GNOME' +arch=('any') +url="http://guake-project.org/" +license=('GPL') +depends=('libkeybinder3' 'libnotify' 'libutempter' 'python-cairo' 'python-dbus' 'python-gobject' 'vte3') +makedepends=('python-pbr' 'git') +_commit=525b134e8e12db687a7fc5bc6134c7af49a957fc # tags/3.0.5^0 +source=("git+https://github.com/Guake/guake#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + sed -i '/glib-compile-schemas/d' Makefile + + # Fix path + sed -i "s|IMAGE_DIR = .*|IMAGE_DIR = '/usr/share/pixmaps/guake'| + s|GLADE_DIR = .*|GLADE_DIR = '/usr/share/guake'| + s|SCHEMA_DIR = .*|SCHEMA_DIR = '/usr/share/glib-2.0/schemas'|" guake/globals.py + + # Remove dependency on python-pbr + sed -i "/import pbr.version/d + s/pbr.version.VersionInfo('guake').version_string()/'$pkgver'/" guake/__init__.py +} + +build() { + cd $pkgname + PBR_VERSION=$pkgver python3 setup.py build + make generate-desktop generate-mo +} + +package() { + cd $pkgname + PBR_VERSION=$pkgver python3 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 -t "$pkgdir/usr/share/guake/" guake/data/*.glade + install -Dm644 -t "$pkgdir/usr/share/pixmaps/guake/" guake/data/pixmaps/*.png + make PREFIX="$pkgdir/usr" install-schemas install-locale +}