2014-07-08 17:55:41 +00:00
|
|
|
# Template file for 'thingmenu-git'
|
|
|
|
pkgname=thingmenu-git
|
2014-08-20 12:15:10 +00:00
|
|
|
version=20140820
|
2014-07-08 17:55:41 +00:00
|
|
|
revision=1
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2014-07-08 17:55:41 +00:00
|
|
|
makedepends="libX11-devel libXtst-devel"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="A simple graphical menu launcher for X11"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://git.r-36.net/thingmenu/"
|
|
|
|
provides="thingmenu-${version}_${revision}"
|
|
|
|
replaces="thingmenu>=0"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://git.r-36.net/thingmenu"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i 's| -I/usr/include||g' config.mk
|
|
|
|
sed -i 's| -L/usr/lib||g' config.mk
|
2014-08-03 15:47:29 +00:00
|
|
|
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
|
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
|
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
2014-07-08 17:55:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vbin thingmenu-menu.sh
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/thingmenu
|
|
|
|
}
|