radamsa: prepare for auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-25 21:11:00 +07:00
parent efad0bb986
commit 96f337b201
1 changed files with 5 additions and 2 deletions

View File

@ -11,13 +11,16 @@ license="MIT"
homepage="https://gitlab.com/akihe/radamsa"
# Makefile contains current location of ol.c.gz
distfiles="https://gitlab.com/akihe/radamsa/-/archive/v${version}/radamsa-v${version}.tar.bz2
https://gitlab.com/owl-lisp/owl/uploads/0d0730b500976348d1e66b4a1756cdc3/ol-0.1.19.c.gz>ol.c.gz"
https://gitlab.com/owl-lisp/owl/uploads/0d0730b500976348d1e66b4a1756cdc3/ol-0.1.19.c.gz"
checksum="ba69f83ba0aa2cd87ce8798dd3da305d4380622be96b5d7a7ebad4c39d0aa66e
86917b9145cf3745ee8294c81fb822d17106698aa1d021916dfb2e0b8cfbb54d"
skip_extraction=ol-0.1.19.c.gz
post_extract() {
gzip < ../ol.c > ol.c.gz
local _distdir=${XBPS_SRCDISTDIR}/${pkgname}-${version}
cp $_distdir/$skip_extraction ol.c.gz
}
post_install() {
vlicense LICENCE
}