34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# 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
|
|
|
|
CFLAGS="-Wno-deprecated-declarations"
|
|
|
|
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
|
|
}
|
|
}
|