void-packages/srcpkgs/python-notify/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

26 lines
905 B
Bash

# Template file for 'python-notify'
pkgname=python-notify
version=0.1.1
revision=13
wrksrc="notify-python-${version}"
build_style=gnu-configure
pycompile_module="gtk-2.0/pynotify"
hostmakedepends="pkg-config python-devel python-gobject2-devel pygtk-devel"
makedepends="libnotify-devel gtk+-devel dbus-glib-devel pygtk-devel"
depends="pygtk"
short_desc="Python2 bindings for libnotify"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="http://www.galago-project.org/"
distfiles="http://www.galago-project.org/files/releases/source/notify-python/notify-python-${version}.tar.gz"
checksum=8c5ee28017fdc5b110c31cb76503e535e15e0c60b9a1f1e95ff6c018dd806022
replaces="notify-python>=0"
lib32disabled=yes
CFLAGS="-fcommon"
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
fi
}