sam: update to 20160825.

This commit is contained in:
Christian Neukirchen 2016-08-28 15:46:21 +02:00
parent 5421e8daba
commit c28f6d8a41
1 changed files with 5 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'sam'
pkgname=sam
version=20160520
version=20160825
revision=1
_githash=4376931065dc54bed8eb859bd7111660bf3d4923
_githash=d3d56423183ecfcf6207ca8adb5a59d2950acf39
wrksrc="${pkgname}-${_githash}"
disable_parallel_build=yes
makedepends="libXft-devel libXt-devel"
@ -11,12 +11,11 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT-like"
homepage="http://www.deadpixi.com/an-updated-version-of-sam"
distfiles="https://github.com/deadpixi/${pkgname}/archive/${_githash}.tar.gz"
checksum=417327e01e564b69a76773646239556773e13061f1a9d7b23ad1a0530402ce2e
checksum=5b9aa72ddab0b14c28177b1b41cc88a9c219c5325356e3ed1c936a86b633d484
post_extract() {
sed -i '/-o sam/s/$/ $(LDFLAGS)/' sam/Makefile
sed -i '/-o samterm/s/$/ $(LDFLAGS)/' samterm/Makefile
sed -i '1iall:' doc/Makefile
sed -i '/-o rsam/s/$/ $(LDFLAGS)/' rsam/Makefile
sed -i '/LDFLAGS/d' rsam/Makefile
}
do_build() {
case "$XBPS_TARGET_MACHINE" in
@ -36,7 +35,6 @@ do_install() {
make install DESTDIR=${DESTDIR}/usr
vlicense LICENSE
vdoc README
vdoc doc/se.ps
vdoc doc/sam.tut.ms
}