dwarffortress: remove libgcc_s.so.1

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:04 +07:00
parent 409427916b
commit f25b90ae6c

View file

@ -1,10 +1,10 @@
# Template file for 'dwarffortress'
pkgname=dwarffortress
version=0.47.05
revision=1
revision=2
_urlver=${version#*.}
archs="x86_64"
create_wrksrc=yes
wrksrc=df_linux
depends="gtk+ SDL SDL_ttf SDL_image virtual?libGL glu"
short_desc="Control a dwarven outpost in a randomly generated world"
maintainer="Robert Stancil <robert.stancil@mavs.uta.edu>"
@ -18,16 +18,17 @@ nopie="distfiles are precompiled as PIE"
repository=nonfree
noshlibprovides=yes
do_patch() {
rm df_linux/libs/libstdc++.so.6
post_extract() {
rm libs/libstdc++.so.6
rm libs/libgcc_s.so.1
}
do_install() {
vbin ${FILESDIR}/dwarffortress
vmkdir /usr/share/dwarffortress
vmkdir /usr/lib/dwarffortress/libs
vcopy "df_linux/libs/*" /usr/lib/dwarffortress/libs
rm -r df_linux/libs
vcopy "df_linux/*" /usr/share/dwarffortress/
vlicense "df_linux/readme.txt" dwarffortress.txt
vcopy "libs/*" /usr/lib/dwarffortress/libs
rm -r libs
vcopy "*" /usr/share/dwarffortress/
vlicense "readme.txt" dwarffortress.txt
}