void-packages/srcpkgs/giggle/template
Jürgen Buchmüller 9a11eb0779 giggle: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:33 +02:00

34 lines
880 B
Bash

# Template file for 'giggle'
pkgname=giggle
version=0.7
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config itstool intltool glib-devel git"
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
nocross=yes
CFLAGS="-fcommon"
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"
}
}