2018-07-12 22:31:42 +02:00
|
|
|
# Template file for 'guake'
|
|
|
|
pkgname=guake
|
2018-07-17 02:00:37 +02:00
|
|
|
version=3.3.2
|
2018-07-12 22:31:42 +02:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
build_style=python3-module
|
|
|
|
pycompile_module="guake"
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
makedepends="python3-devel python3-pbr"
|
|
|
|
depends="desktop-file-utils libkeybinder3 libnotify python3-dbus python3-gobject
|
|
|
|
python3-pbr vte3"
|
|
|
|
checkdepends="python3-flake8 python3-pylint python3-pytest"
|
|
|
|
short_desc="Drop-down terminal for GNOME"
|
|
|
|
maintainer="John <johnz@posteo.net>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="http://guake-project.org/"
|
|
|
|
distfiles="https://github.com/Guake/guake/archive/${version}.tar.gz"
|
2018-07-17 02:00:37 +02:00
|
|
|
checksum=d0a6c95a59df7f25e9f7a320ec11ffea3fd37d252768819ebdeb7608afaebd1f
|
2018-07-12 22:31:42 +02:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
export PBR_VERSION=4.0.4
|
|
|
|
make generate-paths generate-mo
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
export PBR_VERSION=4.0.4
|
|
|
|
make prefix=/usr DESTDIR=${DESTDIR} install-locale
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/applications
|
|
|
|
vmkdir usr/share/pixmaps
|
2018-07-17 02:00:37 +02:00
|
|
|
ln -s ../guake/data/guake.template.desktop \
|
2018-07-12 22:31:42 +02:00
|
|
|
${DESTDIR}/usr/share/applications/guake.desktop
|
2018-07-17 02:00:37 +02:00
|
|
|
ln -s ../guake/data/guake-prefs.template.desktop \
|
2018-07-12 22:31:42 +02:00
|
|
|
${DESTDIR}/usr/share/applications/guake-prefs.desktop
|
|
|
|
ln -s ../guake/data/pixmaps/guake.png \
|
|
|
|
${DESTDIR}/usr/share/pixmaps/guake.png
|
|
|
|
}
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
sed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py
|
|
|
|
make test
|
|
|
|
}
|