2014-12-21 23:19:21 +00:00
|
|
|
# Template file for 'xcmenu-git'
|
|
|
|
pkgname=xcmenu-git
|
|
|
|
version=20141222
|
2014-12-22 16:13:58 +00:00
|
|
|
revision=2
|
2014-12-21 23:19:21 +00:00
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="git"
|
|
|
|
makedepends="zlib-devel libxcb-devel"
|
|
|
|
depends="dmenu"
|
|
|
|
short_desc="Lightweight clipboard manager for X"
|
|
|
|
maintainer="Duncaen <mail@duncano.de>"
|
|
|
|
license="WTFPL"
|
|
|
|
homepage="http://github.com/Cloudef/xcmenu"
|
|
|
|
|
2014-12-22 16:13:58 +00:00
|
|
|
provides="xcmenu-${version}_${revision}"
|
|
|
|
replaces="xcmenu>=0"
|
|
|
|
|
2014-12-21 23:19:21 +00:00
|
|
|
do_fetch() {
|
2014-12-21 23:29:42 +00:00
|
|
|
local url="git://github.com/Cloudef/xcmenu"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
2014-12-21 23:19:21 +00:00
|
|
|
}
|
2014-12-22 16:13:58 +00:00
|
|
|
pre_build() {
|
|
|
|
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
|
|
|
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
|
|
|
}
|
2014-12-21 23:19:21 +00:00
|
|
|
post_install() {
|
2014-12-21 23:29:42 +00:00
|
|
|
vlicense LICENSE
|
2014-12-21 23:19:21 +00:00
|
|
|
}
|