sent: update to 1.
This commit is contained in:
parent
5ed654a2f7
commit
eded766691
1 changed files with 15 additions and 13 deletions
|
@ -1,27 +1,29 @@
|
|||
# Template file for 'sent'
|
||||
pkgname=sent
|
||||
version=0.2
|
||||
version=1
|
||||
revision=1
|
||||
makedepends="libX11-devel libXft-devel freetype-devel libpng-devel"
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
makedepends="libX11-devel libXft-devel freetype-devel"
|
||||
depends="farbfeld"
|
||||
short_desc="Suckless simple plaintext presentation tool"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/sent"
|
||||
distfiles="http://dl.suckless.org/tools/sent-${version}.tar.gz"
|
||||
checksum=53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076
|
||||
checksum=7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33
|
||||
|
||||
do_build() {
|
||||
cp ${FILESDIR}/config.h config.h
|
||||
sed -i 's|^CFLAGS +=|override CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS +=|override LDFLAGS +=|g' config.mk
|
||||
sed -i "s|/usr/include|$XBPS_CROSS_BASE/usr/include|g" config.mk
|
||||
sed -i "s|/usr/lib|$XBPS_CROSS_BASE/usr/lib|g" config.mk
|
||||
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||
X11INC="$XBPS_CROSS_BASE/usr/include/X11" X11LIB="$XBPS_CROSS_BASE/usr/lib"
|
||||
do_configure() {
|
||||
cat <<! >>config.mk
|
||||
INCS = -I${XBPS_CROSS_BASE}/usr/include/freetype2
|
||||
INCS+= -I${XBPS_CROSS_BASE}/usr/include/X11
|
||||
LIBS = -lXft -lfontconfig -lX11
|
||||
!
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR="${DESTDIR}" PREFIX=/usr install
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vdoc README.md
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue