void-packages/srcpkgs/giggle/template
Đoàn Trần Công Danh e5e0627338 giggle: fix cross, crash
2020-12-18 18:37:41 +07:00

40 lines
985 B
Bash

# Template file for 'giggle'
pkgname=giggle
version=0.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config itstool intltool glib-devel git
automake gettext-devel libtool tar yelp-tools"
makedepends="gtksourceview-devel vte290-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Git repository viewer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/giggle"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
lib32disabled=yes
CFLAGS="-fcommon"
pre_configure() {
autoreconf -fi
intltoolize --force
autoreconf
}
libgiggle_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
giggle-devel_package() {
depends="libgiggle>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}