hasufell-repository/packages/dev-tcl/tktable/tktable-2.10.exheres-0

40 lines
697 B
Bash
Raw Normal View History

# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
MY_PNV="Tktable${PV}"
require sourceforge [ pnv=${MY_PNV} suffix=tar.gz ]
SUMMARY="Full-featured 2D table widget"
LICENCES="BSD-3"
PLATFORMS="~amd64 ~x86"
SLOT="0"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-lang/tk[>=8.0]
"
WORK=${WORKBASE}/${MY_PNV}
DEFAULT_SRC_CONFIGURE_PARAMS=(
--hates=datarootdir
--hates=docdir
)
src_prepare() {
edo sed -i \
-e '/^install:/{s: install-doc::}' \
-e '/^PKG_EXTRA_FILES/{s:=.*:=:}' \
Makefile.in
}
src_install() {
default
edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/bin
}