st: remove deprecated replaces

This commit is contained in:
Ypnose 2014-09-20 08:29:12 +00:00
parent 0407073eb1
commit 0eaa189000

View file

@ -1,8 +1,7 @@
# Template file for 'st'
pkgname=st
version=0.5
revision=2
replaces="st>=0"
revision=3
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font"
@ -18,6 +17,8 @@ pre_build() {
sed -i 's|Liberation Mono|Terminus|g' config.def.h
sed -i 's|-I/usr/include||g' config.mk
sed -i 's|-L/usr/lib||g' config.mk
# Remove BSD_SOURCE warning
sed -i 's|-D_BSD_SOURCE|-D_DEFAULT_SOURCE|g' config.mk
# We will use tic after install. See INSTALL.
sed -i 's|@tic -s st.info||g' Makefile
}