x48: fix license, vsed

This commit is contained in:
Colin Booth 2021-06-29 00:47:06 -07:00 committed by Đoàn Trần Công Danh
parent 3dec071959
commit 7cc900df79

View file

@ -1,14 +1,14 @@
# Template file for 'x48'
pkgname=x48
version=0.6.4
revision=2
revision=3
create_wrksrc=yes
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libXt-devel libXext-devel"
short_desc="HP48 CPU Emulator"
maintainer="allan <mail@may.mooo.com>"
license="GPL-3"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/x48.berlios/"
distfiles="${SOURCEFORGE_SITE}/x48.berlios/files/$pkgname-$version.tar.bz2"
checksum=dd42fb3dfde860abb758f8e6d5ccd01845bbf0dcd808b87786eec3ef7091067f
@ -18,9 +18,9 @@ pre_configure() {
}
pre_build() {
sed -i '698s/inline/static inline/' src/emulate.c
vsed -i '698s/inline/static inline/' src/emulate.c
}
pre_install() {
sed -i 's:helvetica:fixed:' X48
vsed -i 's:helvetica:fixed:' X48
}