sam: update to 20170627.

This commit is contained in:
Leah Neukirchen 2017-07-13 23:39:42 +02:00
parent 07b1b8be45
commit 584bd3d605

View file

@ -1,22 +1,21 @@
# Template file for 'sam'
pkgname=sam
version=20161021
version=20170627
revision=1
_githash=463c87a908760e0220276a0ef58295c246485414
_githash=20e0ad8abcc61009fcf089968d84f7a277078437
wrksrc="${pkgname}-${_githash}"
disable_parallel_build=yes
makedepends="libXft-devel libXt-devel"
makedepends="libXft-devel libXi-devel libXt-devel"
short_desc="Screen editor with structural regular expressions"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT-like"
homepage="http://www.deadpixi.com/an-updated-version-of-sam"
distfiles="https://github.com/deadpixi/${pkgname}/archive/${_githash}.tar.gz"
checksum=786b0ddff35cb61eabee7ac213cd68e88d0484c0f5f30725e41a40702853fa05
checksum=013446b178e470a24653dd3d82bc71b77a8faa9a67cd5ed74367d777fb5f6378
CFLAGS="-std=c99"
post_extract() {
sed -i '/-o rsam/s/$/ $(LDFLAGS)/' rsam/Makefile
sed -i '/LDFLAGS/d' rsam/Makefile
sed -i 's/ -sf / -sfr /' doc/Makefile
}
do_build() {
case "$XBPS_TARGET_MACHINE" in