void-packages/srcpkgs/libindicator/template

32 lines
996 B
Bash
Raw Normal View History

2017-06-14 08:42:14 +02:00
# Template file for 'libindicator'
pkgname=libindicator
version=12.10.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3"
hostmakedepends="pkg-config glib-devel"
makedepends="garcon gtk+3-devel libglib-devel"
short_desc="Convenient symbols and functions for indicators in the Ayatana project"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-3"
homepage="https://launchpad.net/libindicator"
distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download/libindicator-${version}.tar.gz"
checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f
post_configure() {
# Due to laziness, let's just fix the problem here without
# understanding it
sed -i -e 's/-lglib-2.0-lm/-lglib-2.0 -lm/' Makefile */Makefile
}
libindicator-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}