xcmenu-git: provides/replaces xcmenu; build with our {C,LD}FLAGS.
This commit is contained in:
parent
5d35030614
commit
64d7c63250
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xcmenu-git'
|
||||
pkgname=xcmenu-git
|
||||
version=20141222
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
makedepends="zlib-devel libxcb-devel"
|
||||
|
@ -11,11 +11,18 @@ maintainer="Duncaen <mail@duncano.de>"
|
|||
license="WTFPL"
|
||||
homepage="http://github.com/Cloudef/xcmenu"
|
||||
|
||||
provides="xcmenu-${version}_${revision}"
|
||||
replaces="xcmenu>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/Cloudef/xcmenu"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
pre_build() {
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue