30 lines
966 B
Bash
30 lines
966 B
Bash
|
# Template file for 'SDL2_Pango'
|
||
|
pkgname=SDL2_Pango
|
||
|
version=2.1.5
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="pkg-config"
|
||
|
makedepends="freetype-devel pango-devel SDL2-devel"
|
||
|
short_desc="Graphically rendering internationalized and tagged text in SDL2"
|
||
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||
|
license="LGPL-2.1-or-later"
|
||
|
homepage="https://github.com/markuskimius/SDL2_Pango"
|
||
|
changelog="https://raw.githubusercontent.com/markuskimius/SDL2_Pango/master/ChangeLog"
|
||
|
distfiles="https://github.com/markuskimius/SDL2_Pango/archive/refs/tags/v${version}.tar.gz"
|
||
|
checksum=3b3fe6008445feb1fca61b17b9d950d688e49dcca60dbbf8667c0f980ddfc563
|
||
|
|
||
|
post_patch() {
|
||
|
vsed -i SDL2_Pango.pc.in -e 's/Requires: pango/&, freetype2/'
|
||
|
}
|
||
|
|
||
|
SDL2_Pango-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.a"
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|